Atlas icon indicating copy to clipboard operation
Atlas copied to clipboard

Only look for address in wider distance if not found at first try

Open sebsel opened this issue 8 years ago • 0 comments

As we discussed: Living close to the border, Atlas gives the wrong address for my home location. It seems to be a problem with the &distance=10000 parameter on the API call to geocode.arcgis.com.

This was originally used to get a location in area's where there was no address found, extending the search area by 10km.

The solution would be to first make a request without the parameter, and only if it returns empty, fetch with the 10km distance param.

You can check the API-calls with coordinates for my home address in this private post, if you need testing.

sebsel avatar Jun 27 '17 17:06 sebsel