interface MapCallbacksExtension
Interface defining callbacks regarded map events.
abstract fun addOnMapChangedListener(onMapChangedListener: TomtomMapCallback.OnMapChangedListener!): Unit
Sets a callback interface that is executed when the map status is changed. |
|
abstract fun addOnMapClickListener(listener: TomtomMapCallback.OnMapClickListener!): Unit
Sets a callback interface that is executed when the user clicks on the map. |
|
abstract fun addOnMapDoubleClickListener(listener: TomtomMapCallback.OnMapDoubleClickListener!): Unit
Set callback interface that is executed when the user performs a double-click on the map. |
|
abstract fun addOnMapLongClickListener(listener: TomtomMapCallback.OnMapLongClickListener!): Unit
Set callback interface that is executed when the user long click on the map. |
|
abstract fun addOnMapPanningListener(onMapPanningListener: TomtomMapCallback.OnMapPanningListener!): Unit
Sets a callback interface that is executed when the map panning is executed. |
|
abstract fun addOnMapRotateListener(listener: TomtomMapCallback.OnMapRotateListener!): Unit
Sets a callback interface that is executed when the user rotates the map. |
|
abstract fun
Sets a callback interface that is executed when the map view port is changed. For example, it happens when a map is panned or zoomed. Use |
|
abstract fun removeOnMapChangedListener(listener: TomtomMapCallback.OnMapChangedListener!): Unit
Unregister the map changed listener. |
|
abstract fun removeOnMapClickListener(listener: TomtomMapCallback.OnMapClickListener!): Unit
Unregister the map click listener given as the parameter. |
|
abstract fun removeOnMapDoubleClickListener(listener: TomtomMapCallback.OnMapDoubleClickListener!): Unit
Unregister the map double-click listener given as the parameter. |
|
abstract fun removeOnMapLongClickListener(listener: TomtomMapCallback.OnMapLongClickListener!): Unit
Unregister the map long listener given as the parameter. |
|
abstract fun removeOnMapPanningListener(listener: TomtomMapCallback.OnMapPanningListener!): Unit
Unregister the map panning listener. |
|
abstract fun removeOnMapRotateListener(listener: TomtomMapCallback.OnMapRotateListener!): Unit
Unregister the map rotate listener given as the parameter. |
|
abstract fun
Unregister the map view port changes listener. Use |
interface TomtomMap : RouteExtension, MarkerExtension, MapManipulationExtension, MapInfoExtension, MapCallbacksExtension, MapViewExtension, MarkersCallbackExtension, OverlaysCallbackExtension, RouteCallbackExtension, LocationSourceExtension, OnRequestPermissionsResultCallback, CameraCallbacksExtension
Interface that is the main entry point for all methods related to the map. |