Leaflet / Leaflet.Editable

Make geometries editable in Leaflet.
http://leaflet.github.io/Leaflet.Editable/doc/api.html
553 stars 198 forks source link

Add simple support for L.CircleMarker #181

Closed mangelats closed 1 week ago

mangelats commented 5 years ago

Add the necessary mixins to L.CircleMarker. This allows to use L.CircleMarker as the markerClass in the options of createMarker.

Example:

this.map.editTools.startMarker(null, {markerClass: L.CircleMarker});
mangelats commented 5 years ago

The tests are the same as MarkerEditor.js because changing the class to L.CicleMarker should not effect any of its behavior.

yohanboniface commented 1 week ago

Superseded by #207. Sorry for not having merged your work, and thanks anyway :)