PTV Navigator Remote Interface Documentation
Variables

AddStop

Variables

final int MSG_RI_ADD_STOP = 100

Detailed Description

Add a stop to the stop list

Adds a stop with the given name and position (in geodecimal format) to the stop list.
Please note that stops can not be added in some situations:

Attention:

Adding a stop will alter the current tour by adding the stop at the end of the tour. Be sure to delete all stops from a previous route calculation to ensure that only the added stops are used for routing.

Sending bundle:

KeyValueType

Info

Name Name of the stop String
MercPosX Deprecated, use Longitude instead. Mercator x position of the stop int
MercPosY Deprecated, use Latitude instead. Mercator y position of the stop int
GeoDezPosX Deprecated, use Longitude instead. Geodecimal x position (longitude) of the stop double
GeoDezPosY Deprecated, use Latitude instead. Geodecimal y position (latitude) of the stop double
Longitude Longitude of the stop double
Latitude Latitude of the stop double

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_INVALID_PARAMETER if one parameter is not valid.
RI_ERROR_NOT_ALLOWED if the adding is not allowed in the current activity.
RI_ERROR_NO_LICENSE if the navigator has no valid license.


© PTV Logistics 2024 Generated on Wed Nov 6 2024 16:47:49 for PTV Navigator Remote Interface Documentation by doxygen 1.7.3