Track current location

This device does not support 3D.

View the system requirements for more information.

This sample demonstrates how to track your location with the Track widget. This is particularly useful with mobile devices. It works using geolocation functionality which accesses the geographic location of the tracking device and displays it in the MapView.

There are security considerations to be taken into account when working with geolocation. The Track widget is not supported on insecure origins. To use it, switch your application to a secure origin, such as HTTPS. Note that localhost is considered "potentially secure" and can be used for easy testing in browsers that supports Window.isSecureContext (currently Chrome and Firefox).

This sample is provided as a starting point to get familiarized with how this widget works.

Sample search results

TitleSample

There were no match results from your search criteria.