leafletJS files missing with filter
-
Hello,
I’ve been trying to establish some kind of custom filtering of the markers and I’ve come up with a workaround:
An ajax form which on submit returns a shortcode “do_shortcode(‘[travelers-map]’);” with added parameters depending on the checkbox selection from the form, so for example if my form has checkboxes for “Hotels” and “Restaurants” checked, my function would be updated on submit and shortcode returned [travelers-map cats=hotels,restaurants] and map basically refreshed.
But the issue is that everytime I’ve tried to do that, I get the same response:
“Travelers’ Map is loading…
If you see this after your page is loaded completely, leafletJS files are missing.”Is there any way to force reload of the map via ajax call?
Thanks.
- The topic ‘leafletJS files missing with filter’ is closed to new replies.