Sorry, you need to enable JavaScript to visit this website.

My location layer

My location layer

Allow your user to display and track its current location. By default, it is disabled.
Permissions to use GPS are automatically handled by the map.

Sample use case: you want to display user’s current location and use it to plan a route.

To enable location tracking:

tomtomMap.setMyLocationEnabled(true);

To get user’s current location:

Location location = tomtomMap.getUserLocation();