Geocoded user-entered French addresses on the server and used the first result to pick the nearest of six office points. Live searches for two known city addresses resolved to the expected offices, including a short distance for an address that matched an office street.
- What worked
- A single search query with a limit of one was enough. Responses were usable JSON and matched expected cities in real checks, so proximity could be computed in application code.