Collection of some useful Methods regarding the Mapviewer that are not present in the native SDK.
◆ getVisiblePoiCategoryIds()
| static List< String > getVisiblePoiCategoryIds |
( |
Mapviewer |
map | ) |
|
|
static |
Get a list of all poi category names that are visible
- Returns
◆ getVisiblePoiCategoryNames()
| static List< String > getVisiblePoiCategoryNames |
( |
Mapviewer |
map | ) |
|
|
static |
Get a list of all poi category names that are visible
- Returns
◆ getVisiblePoiSourceNames()
| static List< String > getVisiblePoiSourceNames |
( |
Mapviewer |
map | ) |
|
|
static |
get a list of names of all visible poi sources Optionally adds poi sources with categories but in most cases this is not needed: visibility of poi categories should be controlled by the PoiCateory and not by the Source
- Parameters
-
| map | - map to check visibility |
- Returns
- List of visible poi source names
◆ setMapContent()
| static void setMapContent |
( |
Mapviewer |
map, |
|
|
int |
id |
|
) |
| |
|
static |
Set the given mapContent for the mapviewer if id is valid
- Parameters
-
◆ showPoiCategories()
| static boolean showPoiCategories |
( |
Mapviewer |
map, |
|
|
List< String > |
poiCategoryIds |
|
) |
| |
|
static |
show the the passed poi source list on the map and hides all others!
- Parameters
-
| poiCategoryIds | name of the source to show |
- Returns
- true if a source found and set visible
◆ showPoisOfCategory()
| static void showPoisOfCategory |
( |
Mapviewer |
map, |
|
|
String |
poiCategoryName |
|
) |
| |
|
static |
◆ showPoiSource()
| static boolean showPoiSource |
( |
Mapviewer |
map, |
|
|
String |
poiSourceName |
|
) |
| |
|
static |
show the given poi source on map
- Parameters
-
| poiSourceName | name of the source to show |
- Returns
- true if source found and set visible
◆ showPoiSources()
| static boolean showPoiSources |
( |
Mapviewer |
map, |
|
|
List< String > |
poiSourcesNames |
|
) |
| |
|
static |
show the the passed poi source list on the map
- Parameters
-
| poiSourcesNames | name of the source to show |
- Returns
- true if a source found and set visible
The documentation for this class was generated from the following file: