public interface UiSettings extends UIMapSettings
TomtomMap.getUiSettings()| Modifier and Type | Method and Description |
|---|---|
CameraPosition |
getCameraPosition()
Get current camera position of the map.
|
CompassView |
getCompassView()
The CompassView component.
|
CurrentLocationView |
getCurrentLocationView()
The CenterOnCurrentLocationView component.
|
MapLayersType |
getMapLayersType()
Get information about current map layer settings.
|
MapModeType |
getMapModeType()
Get current map mode type.
|
MapTrafficType |
getMapTrafficType()
Get information about current traffic settings.
|
TrafficFlowTilesType |
getTrafficFlowTilesType()
Get information about current traffic settings.
|
int |
getZoomLevel()
Get current zoom level.
|
boolean |
is2D()
True the map is in 2D Mode, otherwise false.
|
boolean |
isMyLocationEnabled()
Verify whether location is enabled or not.
|
void |
setCameraPosition(CameraPosition cameraPosition)
Set map camera position.
|
void |
setMapLayersType(MapLayersType mapLayerType)
Set map layers to HYBRID.
|
void |
setMapModeType(MapModeType mapModeType)
Set map mode to 2D or 2.5D.
|
void |
setMapTilesType(MapTilesType mapTilesType)
Set map tiles to RASTER or VECTOR.
|
void |
setMapTrafficType(MapTrafficType mapTrafficType)
Set map traffic type with animation.
|
void |
setMyLocation(boolean enable)
Enable location for map.
|
void |
setTrafficFlowTilesType(TrafficFlowTilesType trafficFlowTilesType)
Set traffic tiles to RASTER or VECTOR.
|
setStyleUrlboolean is2D()
void setMapModeType(MapModeType mapModeType)
MapModeType.MODE_2D.void setMapTilesType(MapTilesType mapTilesType)
MapTilesType.VECTOR.void setTrafficFlowTilesType(TrafficFlowTilesType trafficFlowTilesType)
TrafficFlowTilesType.VECTOR.void setMapLayersType(MapLayersType mapLayerType)
MapLayersType.NONE.void setMapTrafficType(MapTrafficType mapTrafficType)
MapTrafficType.TRAFFIC_NONE
Traffic type tiles used for display traffic by default are vector tiles.
To use raster tiles for traffic use setTrafficFlowTilesType(TrafficFlowTilesType) method.
Recommended tiles for traffic are vector tiles.
MapTrafficType.TRAFFIC_INCIDENTS are available currently only for raster traffic tiles.void setCameraPosition(CameraPosition cameraPosition)
void setMyLocation(boolean enable)
MapModeType getMapModeType()
MapLayersType getMapLayersType()
TrafficFlowTilesType getTrafficFlowTilesType()
MapTrafficType getMapTrafficType()
CameraPosition getCameraPosition()
boolean isMyLocationEnabled()
int getZoomLevel()
CompassView getCompassView()
CurrentLocationView getCurrentLocationView()