Open marco76tv opened 2 days ago
Hi @marco76tv
did you try showMyLocationButton()
method ?
This method will display a button on the right side, which, when clicked, will get the user's current location (requiring browser permission) and display it on the map.
If there are any issues or problems, please let me know.
I think it is useful to add a button to the map to position the map at the user's position, also when opening the map set it to the user's position