User Geolocation
Automatic or manual determination of the user’s geolocation
Using the plugin, you can apply the setting to automatically display the userās current location at the initial map loading, or add a āGeolocationā button to display the userās current location manually. On this page, you can see examples of both options as applied.
In both cases, the user must confirm permission to allow the display of their location after loading the map or upon clicking on the āGeolocationā control.
It’s also possible to choose which marker template will be used to display the user’s geolocation as well as disable the centering of the map when determining the geolocation of the user during the initial map loading.
Related Examples
Previous Example