Skip Navigation

[Resolved] Prevent map reloading with every change

This support ticket is created 5 years, 1 month 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by maxfieldB 5 years, 1 month ago.

Assisted by: Christian Cox.

Author
Posts
#1371095

Tell us what you are trying to do?
Is there a way to prevent the map from reloading with each time you manipulate a search filter? Instead of the map re-centering on the new search results, the user would recenter the map themselves?

Is there any documentation that you are following?
Thanks!

Is there a similar example that we can see?
No.

What is the link to your site?
hidden link

#1371379

Hi, if you move the map shortcode outside of the View, and set the View to update with AJAX, the map will update without reloading the whole page. However, it will automatically refocus and recenter on the new results. I don't have a good way to prevent that feature. On the other hand, you could create a map that shows all the results and isn't ever filtered. That would not update with search filtering, but it would also not ever recenter or refocus the map.

#1371617

Thanks, good to know - we'll keep it as it is for now. Thanks!