Skipped the issue template, since this is more of a feature request 🙏
This is similar to #360, but in my case I want the markers that are generated while drawing, which are created in the following lines (as far as I could see):
|
this._mouseMarker = L.marker(this._map.getCenter(), { |
|
potentialMarker = new L.Marker(potentialLatLng, { |
|
var marker = new L.Marker(latlng, { |
I want these to be created in a custom pane instead of the marker-pane. The same also applies for the drawing guides and the handling of mouse events.
I'm aware that, in this case, some map elements might have a higher z-index and block the drawing process. This is a desired effect.
Is this possible to implement?
Skipped the issue template, since this is more of a feature request 🙏
This is similar to #360, but in my case I want the markers that are generated while drawing, which are created in the following lines (as far as I could see):
Leaflet.draw/src/draw/handler/Draw.Polyline.js
Line 88 in d5dd117
Leaflet.draw/src/draw/handler/Draw.Polyline.js
Line 355 in d5dd117
Leaflet.draw/src/draw/handler/Draw.Polyline.js
Line 381 in d5dd117
I want these to be created in a custom pane instead of the marker-pane. The same also applies for the drawing guides and the handling of mouse events.
I'm aware that, in this case, some map elements might have a higher z-index and block the drawing process. This is a desired effect.
Is this possible to implement?