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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimizes performance and prevent Leaflet bug #1277

Merged
merged 3 commits into from
Dec 29, 2022

Conversation

Falke-Design
Copy link
Collaborator

@Falke-Design Falke-Design commented Dec 22, 2022

In the latest Leaflet (v1.9.3) is a bug if a layer contains a empty array as latlng.
This PR prevents the bug in Leaflet and and optimizes the performance. (Getting rid of a TODO 🎉🎉)

Closes: #1276

Leaflet Bug: Leaflet/Leaflet#8737

@codeofsumit codeofsumit merged commit cee47c3 into geoman-io:develop Dec 29, 2022
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

Successfully merging this pull request may close these issues.

Removing a vertex from a triangle generates an error
2 participants