PTV Navigator Remote Interface Documentation
Variables

Get the current route trace

Variables

final int MSG_RI_GET_ROUTE_TRACE_AHEAD = 308

Detailed Description

Returns the current route trace

This function will return the current used route trace (if we are in an active navigation). The trace is returned as a list of WGS84 coordinates. Always two consecutive values of the list represent one coordinate of the trace in the order latitude followed by longitude.

Sending bundle:

KeyValueTypeInfo
OnlyToNextStation Not supported anymore. Flag whether the trace should end at the next station or at the last station Boolean

Return bundle:

KeyValueTypeInfo
Positions The latitude and longitude ordinates of the route trace DoubleArray

Returned error codes:

RI_ERROR_NONE if everything is ok.
RI_ERROR_RI_DISABLED if the Remote Interface service is disabled and/or not licensed.
RI_ERROR_NOT_INITIALIZED if the Remote Interface service is not initialized yet.
RI_ERROR_NO_ROUTE_FOUND if no route trace is currently available.
RI_ERROR_NO_LICENSE if the navigator has no valid license


© PTV Group 2023 Generated on Tue Dec 5 2023 14:56:26 for PTV Navigator Remote Interface Documentation by doxygen 1.7.3