Defines route tracking current status data. More...
|TrackingProgress *||destinationProgress() const|
|TrackingProgress *||maneuverProgress() const|
|TrackingProgress *||routeProgress() const|
- 31 public functions inherited from QObject
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 1 signal inherited from Esri::ArcGISRuntime::Object
- 2 signals inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 9 protected functions inherited from QObject
- 2 protected variables inherited from QObject
Defines route tracking current status data.
Contains information about route tracker status. Used with the RouteTracker, this type contains a report of tracking status. It is returned from several tracking-related methods and signals to report the current tracking status.
Member Function Documentation
Returns the current maneuver index.
The index of current maneuver in Route::directionManeuvers.
TrackingProgress *TrackingStatus::destinationProgress() const
Returns current TrackingProgress until next destination (stop).
DestinationStatus TrackingStatus::destinationStatus() const
Returns current DestinationStatus.
Location TrackingStatus::displayLocation() const
Returns the display location with position and bearing adjusted based on the route.
If current location isOnRoute = true then this will be an adjusted location (snapped to route) and bearing (smoothed). If current location isOnRoute = false then this will be the passed in GPS location, but with an adjusted bearing (smoothed). This location should be used for displaying current position on a map.
Returns whether the current location is on the route.
Returns whether route calculation is in progress.
Location TrackingStatus::locationOnRoute() const
Returns current location on route.
This is the snapped-to-route location of the last GPS location passed in to RouteTracker::trackLocation. If isOnRoute is
true, this location will be the same as the TrackingStatus::displayLocation. If isOnRoute is
false, the last location that was on the route will be returned.
TrackingProgress *TrackingStatus::maneuverProgress() const
Returns current TrackingProgress along current maneuver.
Returns the remaining destination count.
The number of (routed) stops yet to be visited. Value does not include waypoints, unlocated/unrouted locations. Calling RouteTracker::switchToNextDestination will decrease value.
TrackingProgress *TrackingStatus::routeProgress() const
Returns current TrackingProgress along entire route.
RouteResult TrackingStatus::routeResult() const
Returns the RouteResult presently being used by route tracker.