We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
L.Control.Layers
map.getCenter()
I've reproduced the same using the LayerControl demo, the marker did not re-appear using the same approach from above.
I found this to be the cause of the bug: https://github.com/Leaflet/Leaflet.markercluster/blob/master/src/MarkerClusterGroup.js#L716
This causes the layer to be re-added, without checking if it's added or not.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How to reproduce
L.Control.Layers
and add to mapmap.getCenter()
for exampleWhat behaviour I'm expecting and which behaviour I'm seeing
I've reproduced the same using the LayerControl demo, the marker did not re-appear using the same approach from above.
I found this to be the cause of the bug: https://github.com/Leaflet/Leaflet.markercluster/blob/master/src/MarkerClusterGroup.js#L716
This causes the layer to be re-added, without checking if it's added or not.
The text was updated successfully, but these errors were encountered: