Skip Navigation

[Closed] Maps is showing results out of the given area

This support ticket is created 3 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by Luo Yang 3 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#2241491
Schermafbeelding 2021-12-10 om 12.54.28.png

Problem:
The View and Maps is given to many results after a searchrequest. For example:
If I search for a:
- fysiotherapist
- 25 km of Amsterdam, the Netherlads, it shows also the results from more than 25 km away.

Link to a page where the issue can be seen:
hidden link

I expected to see:
Only the results within the given area/ scope

Instead, I got: also results outside the given scope.

#2243191

Thanks for the details, I am checking it in your website, will update here if find anything

#2243233

There are three custom address fields in your website:
- Adres
- Adres voor Maps
- Adres voor Google Maps 2
See your website settings here:
hidden link
Which address field do you want to use to filter the result?
Which address field do you want to display in the map?

#2245789

Hi, thanks for your time. I
I would like Adres voor Maps in the results (list and maps) (they are the same as just ‘Adres'). And if possible also adres 2 for searching filter and displaying in maps.

I hope you understand what I try to achieve.
I would like Adres for Maps in the results (list and maps) (this field contains the same information as the same as just ‘Adres'). And if possible also Adres-2 for searching filter and displaying in maps and list.
I hope you understand what I try to achieve.

The adresses are the adresses of companies; some have one location, others have 2 locations.

#2246565

Thanks for the details, I can see the problem in your website, and the problem is abnormal, it is displaying posts outsider the distance filters.

Please check these in your website:
1) deactivate all other plugins, and switch to WordPress default theme 2021, deactivate all custom PHP/JS code snippets, and test again
2) Also check if there is any PHP error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/
3) If the problem still persists, please provide database dump file(ZIP file) of your website, you can put the package files in your own google drive disk, share the link only, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

The topic ‘[Closed] Maps is showing results out of the given area’ is closed to new replies.