sdk-maps / com.tomtom.online.sdk.map / TomtomMapCallback / OnMapChangedListener

OnMapChangedListener

interface OnMapChangedListener

A callback interface called when the map is changed, e.g., a new frame is rotated or new camera parameters are set.

Functions

onCameraDidChange

abstract fun onCameraDidChange(): Unit

Called when the new camera parameters are loaded.

onCameraIsChanging

abstract fun onCameraIsChanging(): Unit

Called when the map camera is changing.

onCameraWillChange

abstract fun onCameraWillChange(): Unit

Called when the map is about to change the camera parameters.

onDidFailLoadingMap

abstract fun onDidFailLoadingMap(): Unit

Called when the map style has failed to load.

onDidFinishInitializingMap

abstract fun onDidFinishInitializingMap(): Unit

Called when the map has been loaded and is ready to use.

onDidFinishLoadingMap

abstract fun onDidFinishLoadingMap(): Unit

Called when the map has been loaded, including tiles. However, in Offline mode when tiles are not loaded, the load event is not triggered.

onDidFinishLoadingStyle

abstract fun onDidFinishLoadingStyle(): Unit

Called when the map style has been loaded. This event triggers an OnMapReady callback.

onDidFinishRenderingFrame

abstract fun onDidFinishRenderingFrame(): Unit

Called when the map frame has been rendered.

onDidFinishRenderingMap

abstract fun onDidFinishRenderingMap(): Unit

Called when the map has been rendered.

onSourceChanged

abstract fun onSourceChanged(): Unit

Called when the source for the map style has been changed.

onWillStartLoadingMap

abstract fun onWillStartLoadingMap(): Unit

Called when the map is about to load a new style.

onWillStartRenderingFrame

abstract fun onWillStartRenderingFrame(): Unit

Called when the map is about to render a new frame.

onWillStartRenderingMap

abstract fun onWillStartRenderingMap(): Unit

Called when the map is about to render.

Inheritors

MarkerSettings

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

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

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()