[Resolved] Map search works except for exact addresses
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Tell us what you are trying to do?
I have a map search that searches my custom type of professionals. It shows correct results if you enter a specific city or town from the autocomplete options, or if you use the visitors location. However, if you select a specific address from the autocomplete options, it always seems to show the same region on the map and same results, which are not related to the entered address.
Thank you for contacting us and I'd be happy to assist.
The search link that you've shared sets the center location to '1275 Bay Street, Victoria, BC, Canada' and sets the radius to include the results from within '10 km' of this central location reference point.
Are you noticing the results that don't fall within this radius? If that is correct, you can go to WP Admin -> Toolset -> Settings -> Maps, and from the 'Cached data' section use the 'Load stored data'.
This will reveal the list of cached addresses and their lat/long coordinates. You can find this specific address and then delete it so that it can be geocoded again, in case the earlier coordinates were not correct.
Once this is fixed and the 'Check API' button no longer shows any error, you can use the 'Check for missing cache entries' from the same settings page. After that, the distance-based search should work.