Elementor conflicts and query
-
Hello. Thanks for creating such a great plugin! I have got a nice cluster map working on my testing site, but I have a couple of queries…
https://wkd.designbymint.com/leaflet-map/
- I’m using the shortcodes in Elementor, these seem to work fine. However, I’m trying to use some custom code to display a counter of total markers that are in the viewing area (like how this works: https://www.worldcancerday.org/map-activities ) – but no matter what javascript code I try, I always get ‘Uncaught ReferenceError: L is not defined’ in the console, and no counter output is displayed. Do the shortcode maps use a different reference other than ‘L’? Could you advise what I need to do?
- I also noticed when viewing the console log for my map, that it is trying to load two pages of javascript; leaflet-gesture-handling.min.js.map and leaflet.markercluster.js.map – both with the ‘.map’ extension – which seem to produce a 404 error. Could it be this that is causing the error?
If anbody can help with how to produce a counter like the link above I would be ever so grateful! I will be happy to contribute to your cause if you are able to help! Thank you very much!
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Elementor conflicts and query’ is closed to new replies.