Open kg6uyz opened 1 month ago
Is there a way to load the list of KMZ's but not auto load the KMZ's onto the map until a user clicks one of the check mark boxes?
L.Control.Layers follows the state of the level:
L.Control.Layers
https://github.com/Raruto/leaflet-kmz/blob/ed43fe930ddd93267278ad0c734ce699ecdd607a/examples/leaflet-kmz.html#L50
e.layer.remove()
https://github.com/Raruto/leaflet-kmz/blob/ed43fe930ddd93267278ad0c734ce699ecdd607a/examples/leaflet-kmz.html#L52-L55
kmz.addTo(map)
Is there a way to load the list of KMZ's but not auto load the KMZ's onto the map until a user clicks one of the check mark boxes?