My Project
|
Add a station to the station list. More...
Variables | |
static final int | MSG_RI_ADD_STATION = 100 |
Add a station to the station list.
Adds a station with the given name and position (in mercator or geodecimal format) to the station list.
Attention: The PTV Navigator will not check the plausibility of the coordinates, so for example be sure to not mix up longitude and latitude, or something similar, otherwise the route the PTV Navigator calculates will not be the desired one.
If a BCR station list was loaded before with Load a given BCR file and set the target stations according to the stations, then the station will be added behind the last BCR station, so if you don't want this behaviour, be sure to clear the target station list with Delete all stations in the target station list before adding stations with this call!
Attention: If both position fields (mercator and geodecimal) are set, only the mercator fields will be used.
Key | Value | Type | Info |
---|---|---|---|
Name | Name of the station | String | |
MercPosX | Mercator x position of the station | int | |
MercPosY | Mercator y position of the station | int | |
GeoDezPosX | Geodecimal x position of the station | double | |
GeoDezPosY | Geodecimal y position of the station | double | |
Image | Image shown on the map for the station | String |
RI_ERROR_NONE if everything is ok.
RI_ERROR_RI_DISABLED if the Remote Interface service is disabled and/or not licensed.
RI_ERROR_IS_INITIALIZING if the Remote Interface service is not initialized yet.
© PTV Group 2021 | Generated on Sun Oct 2 2022 19:28:23 for My Project by 1.8.17 |