The locator button provides users with a convenient way to retrieve their current position. It is an HTML button that once clicked, will trigger the browser geolocation which will try to retrieve the user’s current position ( using
HTML 5 geolocation ). If the current position is successfully found, it will be geocoded by the geocoder field it is synced with.
Locator Button Field Options
- Geocoder field – select the geocoder field which you’d like to sync the button with.
- IP address locator – enable this feature to retrieve the user’s current location based on his/her IP address. Select “Default” to use the IP address instead of the browser’s locator ( HTML5 geolocation ) or “Fallback” to use the IP address only when the browser fails to retrieve the location. Please note that while the IP address locator does not require the user’s permission to retrieve the location ( same way as the browser does ), it is also not as accurate compare to the browser’s geolocation.
- Location found message – enter a message that will pop up on the screen once the page locator successfully found the user’s current position. You can leave the field blank to disable the message.
- Disable location failed message – by default, the plugin will disable an alert message when the auto locator fails to retrieve the user’s location. Check this checkbox if you wish to disable this message.