Get center or bounds of the newly created shape? #1179
Answered
by
Falke-Design
bpolaszek
asked this question in
Questions & Help
-
[Newbie inside] Hello there! 👋 I'm migrating from leaflet-draw which is pretty buggy with Leaflet 1.8.x, but I couldn't figure out, whenever a shape is drawn (I assume, listening to the Can someone guide me? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
Falke-Design
Jun 23, 2022
Replies: 1 comment 1 reply
-
You need to listen on the
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bpolaszek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to listen on the
pm:create
event on the map.