Access to leaflet map variable

[ad_1]

Plugin Contributor
hupe13

(@hupe13)

Bozdoz answers this question in the FAQ.
Or see the code of Extensions for Leaflet Map in the php directory.
Examples are on this page also:

  • How to include Leaflet plugin leaflet-geosearch
  • Nautic Scale
  • How to set maxBounds conditionally
  • This reply was modified 18 minutes ago by hupe13.

Shame on me…. 🙁
I found this in FAQ (as mentioned above by hupe13) …

// iterate any of these arrays: maps, markers, lines, circles, geojsons
var maps = window.WPLeafletMapPlugin.maps;

… which should be all I need to continue.
Thank you!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer