Open
A map block is added to a custom archive and the markers are sourced from the archive results. The archive includes search filters.
Everything displays correctly on the initial page load, and also displays correctly after applying some search filters, if the results update via page refresh.
If the results update via ajax, all of the markers are lost and the map centres on 0,0.
The fix will be included in Toolset Maps 2.1.5.
A pre-release version including the fix can be downloaded from here.
When will this be solved. I am waiting now almost a month!
We are just gathering together updates for several plugins and plan to release them—including the fix for this issue—next Monday.
It is tuesday and i dont see any update?
Unfortunately there were some last minute problems with the Maps update which means it missed the deadline for this week’s releases. Maps will go out at a later date.
But in the meantime I have updated the description above to include a link to a patched version of Maps which includes a fix for this problem, if you could please try that.
Also this vesion isnot working at all using ajax.
Both option dont work
AJAX refresh when clicking submit
AJAX refresh when changing any filter
Sorry, I didn’t mention, but you need to be running the latest version of Blocks (1.6.16) or Views (3.6.16) alongside the Maps update.
I tested on my own site and the fix does work with the latest Blocks, if you could please ensure you are using the same.
https://toolset.com/2024/07/toolset-1-6-16-essential-updates-for-wordpress-6-6-and-better-workflow/
I have installed blocks 1.6.16. But still not working
OK, sorry about that.
In which case, can you please open a support forum ticket to report the problem, as we will need a copy of your site to be able to investigate why it doesn’t work in your case.