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

Global Rotate & global Remove event issues when new layers are added #1412

Closed
Falke-Design opened this issue Nov 18, 2023 · 0 comments · Fixed by #1418
Closed

Global Rotate & global Remove event issues when new layers are added #1412

Falke-Design opened this issue Nov 18, 2023 · 0 comments · Fixed by #1418
Labels

Comments

@Falke-Design
Copy link
Collaborator

Global Rotate & global Remove not working for the first new added layer and else calling pm:globalrotatemodetoggled | pm:globalremovalmodetoggled each time.

map.on('pm:globalrotatemodetoggled pm:globaleditmodetoggled pm:globalremovalmodetoggled pm:globaldragmodetoggled', console.log);

L.geoJson(JSON.parse('{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[70.603638,19.63224],[70.603638,20.622502],[73.042603,20.622502],[73.042603,19.63224],[70.603638,19.63224]]]}}' )).addTo(map)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant