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