Skip to content

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

Description

@sebsel

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions