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
I have a map with draw controls to create, edit and remove only markers.
All works fine, but I would like to remove the marker just with one click... without save confirm.
I haven't found any posts explaining how I can do this ... or my search is incorrect. only this code
L.EditToolbar.Delete.include({
enable: function () {
this.options.featureGroup.clearLayers();
}
});
but this remove all markers... I want remove the markers one by one without confirm.
I would like:
click on trash icon, than the marker that will be removed...
click on trash icon, than the marker that will be removed...
... ecc
Is it possible?
The text was updated successfully, but these errors were encountered:
I have a map with draw controls to create, edit and remove only markers.
All works fine, but I would like to remove the marker just with one click... without save confirm.
I haven't found any posts explaining how I can do this ... or my search is incorrect. only this code
L.EditToolbar.Delete.include({
enable: function () {
this.options.featureGroup.clearLayers();
}
});
but this remove all markers... I want remove the markers one by one without confirm.
I would like:
click on trash icon, than the marker that will be removed...
click on trash icon, than the marker that will be removed...
... ecc
Is it possible?
The text was updated successfully, but these errors were encountered: