Closed mangelats closed 1 week 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});
The tests are the same as MarkerEditor.js because changing the class to L.CicleMarker should not effect any of its behavior.
MarkerEditor.js
L.CicleMarker
Superseded by #207. Sorry for not having merged your work, and thanks anyway :)
Add the necessary mixins to L.CircleMarker. This allows to use L.CircleMarker as the markerClass in the options of createMarker.
Example: