![]() |
MapTrip Interface Android Reference Manual 9.10.1
|
Static Public Member Functions | |
| final static native int | showDynamicLayer (String contentName, String shapeFile) |
| final static native int | hideLayer (String contentName) |
| final static native int | setCenterPoint (double latitude, double longitude) |
| final static native int | setViewingHeight (double heightInMeters) |
| final static native int | setDayNightMode (DayNightMode dayNightMode) |
| static void | addListener (MapviewerListener listener) |
| static void | removeListener (MapviewerListener listener) |
| static void | removeAllListeners () |
|
static |
|
static |
Hides a layer from the mapviewer. The description and displaying options (Shape reader, and layer) have to be defined in the Mapservices.xml file.
|
static |
|
static |
|
static |
Sets the center of the map to the given WGS84 coordinates. This method deactivates the car tracking mode (map center on moving car poistion)
| latitude | - latitude of the new map center |
| longitude | - longitude of the new map center |
|
static |
Sets the day/night mode of the map.
| mode | - DayNigthMode. |
|
static |
Sets the viewing height of the map. This method deactivates the car tracking mode (map center on moving car poistion) To center the current position and move the map with the gps input call Gui.showScreen() with parameter "map".
| heightInMeters | - zoom height in meters. |
|
static |
Displays a shapefile on the map. The description and displaying options (Shape reader, and layer) have to be defined in the Mapservices.xml file.