How to get the initial coordinate of the user when map display #3514
TheUncharted
started this conversation in
General
Replies: 0 comments
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.
-
I want to initialize the default centerCoordinate to the user location when the map start or when the screen render and if possible to save it as a react state variable
In the example generally the center coordinate are setted with hardcoded value so I wonder how to do it ?
Beta Was this translation helpful? Give feedback.
All reactions