public interface UiSettings extends UIMapSettings, TrafficExtensions, Persistable
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.
|
CopyrightsViewAdapter |
getCopyrightsViewAdapter()
The CopyrightsViewAdapter object.
|
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.
|
MapTilesType |
getMapTilesType()
Get information about current map tiles settings.
|
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 |
setCopyrightsViewAdapter(CopyrightsViewAdapter adapter)
Set CopyrightsViewAdapter to manage the copyrights view component.
|
void |
setMapLayersType(MapLayersType mapLayerType)
Set map layers.
|
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)
Deprecated.
|
setStyleJson, setStyleUrlgetTrafficRasterFlowStyle, getTrafficVectorFlowStyle, isTrafficFlowEnabled, isTrafficIncidentsEnabled, isTrafficRasterFlowEnabled, isTrafficVectorFlowEnabled, turnOffTraffic, turnOffTrafficFlowTiles, turnOffTrafficIncidents, turnOnRasterTrafficFlowTiles, turnOnRasterTrafficFlowTiles, turnOnRasterTrafficIncidents, turnOnVectorTrafficFlowTiles, turnOnVectorTrafficFlowTiles, turnOnVectorTrafficIncidentsonViewStateRestoredboolean is2D()
void setMapModeType(MapModeType mapModeType)
MapModeType.MODE_2D.void setMapTilesType(MapTilesType mapTilesType)
MapTilesType.VECTOR.void setMapLayersType(MapLayersType mapLayerType)
MapLayersType.BASIC.
When MapTilesType is set to MapTilesType.NONE, this
method does nothing.void setCameraPosition(CameraPosition cameraPosition)
@Deprecated
@DeprecatedSince(month=10,
year=2018)
void setMyLocation(boolean enable)
insteadMapModeType getMapModeType()
MapTilesType getMapTilesType()
MapLayersType getMapLayersType()
CameraPosition getCameraPosition()
boolean isMyLocationEnabled()
TomtomMap.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()
void setCopyrightsViewAdapter(CopyrightsViewAdapter adapter)
CopyrightsViewAdapter getCopyrightsViewAdapter()