Skip Navigation

Search by distance may produce wrong results

Won't fix

Topic Tags: Toolset Maps

Symptoms

A View with a distance filter may produce the wrong results for certain search terms.

For example, on a client site searching for posts near “Alaska, USA” (chosen from the place suggestions) returns posts in Phoenix, Arizona.

There is a known unresolved issue with the Google geocoding API returning incorrect or incomplete results for certain locations.

See https://issuetracker.google.com/issues/129726522?pli=1#comment6

The problem can manifest itself in showing results from the wrong location, or by showing unfiltered results (as if no location was provided).

Workaround

There is nothing we can do about incorrect results returned by the Google APIs.

An alternative would be to use the Azure Maps API instead.

Leave
a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>