How do I know if the onBoundsChanged was triggered by the user or programatically? #437
Unanswered
juliomuhlbauer
asked this question in
Q&A
Replies: 1 comment
-
I might be wrong but I guess you can only use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a function that I want to only be triggered when the interacts with the map (zoom, dragging).
But the onBoundsChanged is triggered when I set the zoom or bounds programmatically via hooks too.
I tried filtering with domEvent parameter, but couldn't get any value.
Beta Was this translation helpful? Give feedback.
All reactions