chocho11
chocho11
with a marker created by the L.EditControl.extend ? ________________________________ De : Olivier Envoyé : mardi 10 octobre 2017 22:12 À : Leaflet/Leaflet.Editable Cc : chocho11; Author Objet : Re: [Leaflet/Leaflet.Editable]...
from click event, for markers , "e.target.remove()" works
the solution proposed works fine for me : https://github.com/makinacorpus/Leaflet.GeometryUtil/issues/59 couuld you add it on your API ?
no delete function for markers created by editable ?
in fact i would like to use the "setStyle" function to the layers, but that function is unreachable from layer
L.Polygon (L.Path)
editLayer is for vertices and middle vertices, polygons, polylines and markers are in "featuresLayer" not "editLayer"