![]() |
MapTrip Interface Android Reference Manual 9.9.0
|
Static Public Member Functions | |
| static native int | addPoiLayer (String layerName, String absoluteIconPath) |
| static native int | deletePoiLayer (String layerName) |
| static native int | deleteAllPoiLayer () |
| static native int | addPoiItem (String layerName, String poiName, double latitude, double longitude) |
| static native int | deletePoiItem (String poiName, String layerName) |
| static native int | showPoiLayer (String layerName, boolean doShow) |
| static void | addListener (PoiListener listener) |
| static void | removeListener (PoiListener listener) |
| static void | removeAllListeners () |
|
static |
|
static |
Add a poi to a given category and show it in the mapviewer.
| layerName | - unique name of the layer in which the poi shall be inserted |
| poiName | - unique name of the poi |
| latitude | - latitude of the poi on the map |
| longitude | - longitude of the poi on the map |
|
static |
Adds a POI Layer to the mapviewer. A Poi layer specifies an icon file and a name by which a set of POI's can be grouped.
| layerName | - unique name that the layer identifies |
| absoluteIconPath | - absolute path to the icon file which will represent the pois in the layer on the map. Use png format. |
|
static |
Remove all poi layer and all pois from the mapviewer.
|
static |
Delete all POIs that match the given name in the given layer.
| poiName | - unique namen of the poi |
| layerName | - layer in which all pois of the given name shall be deleted |
|
static |
Remove a poi layer and all pois that are in this layer from the mapviewer.
| layerName | - unique name of the layer that shall be removed |
|
static |
|
static |
|
static |
Shows or hides all POIs of a POI Layer.
| layerName | - unique name that the layer identifies, see Poi.addPoiLayer() |
| doShow | - true -> shows all POIs of the layer, false -> hides all POIs of the layer |