PTV Navigator Remote Interface Documentation
|
Variables | |
final int | MSG_RI_ADD_POLYLINE = 908 |
Draws a polyline onto the map
The polyline has to be given as a double array of latitude, longitude values for every point of the polyline.
The "Tag" field describes a string identifier for one or multiple polylines. Multiple polylines can have the same tag. The tag is used in MSG_RI_REMOVE_POLYLINE to identify which polylines should be removed. If no tag is given, the polyline will get a default tag (to remove these tags, also omit the tag in MSG_RI_REMOVE_POLYLINE).
The "Color" field is an integer representing the color of the polyline (in ARGB format).
Key | Value | Type | Info |
---|---|---|---|
Tag | Tag for the polyline, will be used as an identifier for later removal of the polyline, optional, if not set, a default tag will be set | String | |
Coordinates | A double array of latitude, longitude values for each point of the polyline (mandatory) | String | |
Color | The color of the polyline as ARGB integer (optional, if not set, color will be 0) | Double |
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 of the input variables are not correct.
RI_ERROR_NO_LICENSE if the navigator has no valid license.
© PTV Logistics 2024 | Generated on Tue May 27 2025 16:37:35 for PTV Navigator Remote Interface Documentation by ![]() |