Skip To Content ArcGIS for Developers Sign In Dashboard

RouteTrackerLocationDataSource QML Type

A location data source that uses a route tracker and a generic location data source to output locations snapped to a route. More...

Import Statement: import Esri.ArcGISRuntime 100.9
Since: Esri.ArcGISRuntime 100.9
Inherits:

AbstractLocationDataSource

Properties

Signals

Detailed Description

This data source will pass the locations from the AbstractLocationDataSource::locationChanged event to the RouteTracker::trackLocation. The TrackingStatus::displayLocation will then be returned in this data source's locationChanged event. The output locations will be snapped to the route when "on route".

See also AbstractLocationDataSource.

Property Documentation

locationDataSource : AbstractLocationDataSource

An AbstractLocationDataSource object.

If no data source is provided, the platform's default source will be used

Note: this property can only be set during instantiation.


routeTracker : RouteTracker

A RouteTracker object.

Note: this property can only be set during instantiation.


Signal Documentation

locationDataSourceChanged()

Emitted when the locationDataSource property changes.

Note: The corresponding handler is onLocationDataSourceChanged.


routeTrackerChanged()

Emitted when the routeTracker property changes.

Note: The corresponding handler is onRouteTrackerChanged.



Feedback on this topic?