You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sure there is.
The easiest method is using Layers control.
var layerswitcher = L.control.layers().addTo(map);
var control = L.Control.fileLayerLoad().addTo(map);
control.loader.on('data:loaded', function (e) {
layerswitcher.addOverlay(e.layer, e.filename);
});
Is there a way to remove the added layer, without removing other polygons and markers?
The text was updated successfully, but these errors were encountered: