Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add drawing markers to custom pane #1058

Open
ma7moudat opened this issue Jan 24, 2023 · 0 comments
Open

Add drawing markers to custom pane #1058

ma7moudat opened this issue Jan 24, 2023 · 0 comments

Comments

@ma7moudat
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant