Catching Event coming from a Geoman Layer Or General Map #1104
Unanswered
cubecleveland
asked this question in
Questions & Help
Replies: 2 comments 1 reply
-
If you have the layer object, you can check for the |
Beta Was this translation helpful? Give feedback.
0 replies
-
Can that be tapped from the main map instance click event ? what im trying to acheive is to capture all clicks and see if theyc ame from Geoman layer or not.... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, is there any way to know if a clikc event came form a geoman layer without attaching an event handler for every layer.
Basically since the ui also enable creating of new layers i want to see if a clikc event any where on the map is coming from a drawn layer but withou putting the handler specifically on the layer , since clicking outside actually toggle a different state in the UI.
thanks!@
Beta Was this translation helpful? Give feedback.
All reactions