How to personalise your geolocator to improve user experience

by Niharika Sisodia
on Dec 18, 2018

Geolocator design tips

A geolocator is a tool that allows an object, such as a mobile phone, to identify its location. Web-based applications can use a geolocator to request their users’ location with the aim of improving the service they provide.

A geolocator can help users filter out relevant results quickly by showing them products and services that relate to their geolocation. Personalising your geolocator can help streamline user journey and improve the user experience.

Automated request

You can design your geolocator to ask for a user’s geolocation as soon as they land on the relevant page. An automated request is useful if you:

  • Have the same product or service that is available in many locations
  • Want to display different content to different users depending on their location
  • Have a page that includes a map and the user needs to view information about their local area
  • Provide a service that tags information based on location, such as photographs.

H&M is available in multiple countries across the world. On arriving at the store locator page, H&M requests the visitor’s geolocation.


If the user accepts, the geolocator refines the search to the country the user is in. The example below shows a user in the United States.


When the user searches for a location, H&M can autofill the search based on the country the user is in. For example, the search, ‘San’, brings up San Francisco in the USA.


The same search brings up Sandback in the UK.


The geolocate control allows the user's location to be obtained when the user clicks on the associated UI button. However, there is currently no way to have the geolocate functionality trigger when the map first loads.

Geolocator button

You can design your geolocator to have a specific button that the user needs to press to access their location. A geolocation button is useful if you have a product or service that focuses on location. The user may want to use their current location, but they might also be searching for locations and routes that are not relevant to where they are at the time of the search.

For example, Google Earth provides multiple services for location analysis and visualisation. Users can view locations in 3D, layer the maps and measure distances.


Given this functionality, the user experience might be stunted if there was an immediate request for location. Therefore, Google Earth provides a button to give users the option.



Do you use or need to create a geolocator tool? We have a free geocoder tool powered by the TravelTime platform, get an API key.



5 ways to do geocoding for free

Discover solutions that do geocoding for free. Find out which free geocoders have the best functionality. Convert addresses and postcodes into coordinates.

Evelina Bezubec Sep 9, 2019

5 Google Places API alternatives for points of interest data

Find Google Places API alternatives. Connect to a reliable 'points of interest' database via an API. Improve user experience and perfect your location search tool.

Louisa Bainbridge Jun 14, 2019

TravelTime releases isochrone QGIS plugin

Create a QGIS isochrone using the TravelTime platform API. API keys are free to use for non-commercial purposes. You can also calculate a distance matrix and routing using the plugin.

Louisa Bainbridge Jun 12, 2019

The guide to TravelTime API limits

Discover the volume of searches you can do per month and per minute on the TravelTime API free plan. You can use more than one search in an API request.

Louisa Bainbridge May 16, 2019

Step by step free geocoding for Leaflet

Geocoding for Leaflet. Learn how to use a geocoder that is Leaflet-compatible. Convert addresses and postcodes into coordinates to be displayed on a Leaflet map.

Louisa Bainbridge May 7, 2019

IFS use TravelTime to calculate 3.2 billion journey times

How the IFS created a travel time matrix of 40,000 origins to 40,000 destinations for both driving and public transport using the TravelTime platform.

Louisa Bainbridge Apr 16, 2019