public interface UiSettings extends UIMapSettings, 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.
|
LogoView |
getLogoView()
The LogoView 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.
|
setStyleJson, setStyleUrlonViewStateRestoredboolean 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)
MapModeType 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()
LogoView getLogoView()
@Beta(year=2020,
month=6)
void setCopyrightsViewAdapter(CopyrightsViewAdapter adapter)
@Beta(year=2020,
month=6)
CopyrightsViewAdapter getCopyrightsViewAdapter()