User Geolocation
Automatic or manual determination of the user’s geolocation
Using the plugin, you can set it to automatically display the user’s current location upon initial map loading or add a “Geolocation” button to manually display the user’s location. On this page, you can see examples of both options in action.
In both cases, the user must grant permission to allow the display of their location after the map loads or upon clicking the “Geolocation” button.
You can also choose a marker template to display the user’s location and disable map centering when determining the user’s location during initial map loading.
Related Examples
Previous Example