public interface UiSettings extends UIMapSettings, TrafficExtensions
TomtomMap.getUiSettings()| Modifier and Type | Method and Description |
|---|---|
CameraPosition |
getCameraPosition()
Get current camera position of the map.
|
com.tomtom.online.sdk.map.ui.compass.CompassView |
getCompassView()
The CompassView component.
|
com.tomtom.online.sdk.map.ui.currentlocation.CurrentLocationView |
getCurrentLocationView()
The CenterOnCurrentLocationView component.
|
MapLayersType |
getMapLayersType()
Get information about current map layer settings.
|
MapModeType |
getMapModeType()
Get current map mode type.
|
com.tomtom.online.sdk.map.ui.arrowbuttons.PanningControlsView |
getPanningControlsView()
The PanningControlsView component.
|
com.tomtom.online.sdk.map.ui.zoom.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()
com.tomtom.online.sdk.map.ui.compass.CompassView getCompassView()
com.tomtom.online.sdk.map.ui.currentlocation.CurrentLocationView getCurrentLocationView()
com.tomtom.online.sdk.map.ui.arrowbuttons.PanningControlsView getPanningControlsView()
com.tomtom.online.sdk.map.ui.zoom.ZoomingControlsView getZoomingControlsView()