My Project
|
Query the current map position. More...
Variables | |
static final int | MSG_RI_QUERY_MAP_POSITION = 410 |
Query the current map position.
Get the current position, scale factor and orientation of the map displayed by the PTV Navigator.
The PTV Navigator will send data, when the current activity shows a map, like the main screen, the route overview and the location on map view.
Key | Value | Type | Info |
---|---|---|---|
PositionMercX | The Mercator x position of the map center | int | |
PositionMercY | The Mercator y position of the map center | int | |
Scale | The scale factor of the map center as a multiple of mercator units per pixel | int | |
Orientation | The orientation of the map in degrees. 0 means north, 90 means west, ... | int |
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.
RI_ERROR_NO_RESULT_FOUND if the mapview was not ready.
© PTV Group 2021 | Generated on Sun Oct 2 2022 19:28:23 for My Project by 1.8.17 |