public interface UiSettings extends UIMapSettings, TrafficExtensions
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.
|
PanningControlsView |
getPanningControlsView()
The PanningControlsView component.
|
ZoomingControlsView |
getZoomingControlsView()
The ZoomingControlsView component.
|
double |
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 |
setMyLocation(boolean enable)
Enable location for map.
|
void |
turnOffTrafficFlowTiles()
turn off traffic flow tiles.
|
setStyleUrlgetTrafficRasterFlowStyle, getTrafficVectorFlowStyle, isTrafficFlowEnabled, isTrafficIncidentsEnabled, isTrafficRasterFlowEnabled, isTrafficVectorFlowEnabled, turnOffTraffic, turnOffTrafficIncidents, turnOnRasterTrafficFlowTiles, turnOnRasterTrafficFlowTiles, turnOnRasterTrafficIncidents, turnOnVectorTrafficFlowTiles, turnOnVectorTrafficFlowTiles, turnOnVectorTrafficIncidentsboolean is2D()
void setMapModeType(MapModeType mapModeType)
MapModeType.MODE_2D.void setMapTilesType(MapTilesType mapTilesType)
MapTilesType.VECTOR.void turnOffTrafficFlowTiles()
turnOffTrafficFlowTiles in interface TrafficExtensionsvoid setMapLayersType(MapLayersType mapLayerType)
MapLayersType.NONE.void setCameraPosition(CameraPosition cameraPosition)
void setMyLocation(boolean enable)
MapModeType getMapModeType()
MapLayersType getMapLayersType()
CameraPosition getCameraPosition()
boolean isMyLocationEnabled()
double getZoomLevel()
CompassView getCompassView()
CurrentLocationView getCurrentLocationView()
PanningControlsView getPanningControlsView()
ZoomingControlsView getZoomingControlsView()