sdk-maps / com.tomtom.online.sdk.map / Persistable

Persistable

interface Persistable

Interface used to restore map state.

Functions

onViewStateRestored

abstract fun onViewStateRestored(savedState: MapState!): Unit

Called internally to restore state, e.g. when app is resumed from the background.

Inheritors

DrivingSettings

interface DrivingSettings : Persistable

Advanced settings for driving options manipulation. To obtain this interface, call TomtomMap#getDrivingSettings().

MarkerSettings

interface MarkerSettings : MarkerExtension, MarkersCallbackExtension, Persistable, TomtomMapCallback.OnMapTapListener, TomtomMapCallback.OnMapChangedListener

Advanced settings for markers manipulation. To obtain this interface, call TomtomMap.getMarkerSettings

OverlaySettings

interface OverlaySettings : TomtomMapCallback.OnMapTapListener, OverlaysCallbackExtension, Persistable

Settings for overlays manipulation. To obtain this interface, call TomtomMap#getOverlaySettings().

RouteSettings

interface RouteSettings : RouteExtension, TomtomMapCallback.OnMapTapListener, RouteCallbackExtension, Persistable

Advanced settings for routes manipulation. To obtain this interface, call TomtomMap#getRouteSettings()

TrafficSettings

interface TrafficSettings : TrafficExtensions, TomtomMapCallback.OnMapTapListener, Persistable, TomtomMapCallback.OnMapChangedListener

Settings for manipulating traffic settings related to traffic (e.g. flows). To obtain this interface, call TomtomMap#getTrafficSettings()

UiSettings

interface UiSettings : UIMapSettings, Persistable

Settings for manipulating map settings related to UI (e.g. styling). To obtain this interface, call TomtomMap#getUiSettings()