interface MapCallbacksExtension
Interface defining callbacks regarded map events.
abstract fun addOnMapChangedListener(onMapChangedListener: TomtomMapCallback.OnMapChangedListener!): Unit
Set callback interface that is executed when the map status is changed. |
|
abstract fun addOnMapClickListener(listener: TomtomMapCallback.OnMapClickListener!): Unit
Set callback interface that is executed when the user click 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
Set callback interface that is executed when the map panning is executed. |
|
abstract fun addOnMapRotateListener(listener: TomtomMapCallback.OnMapRotateListener!): Unit
Set callback interface that is executed when the user rotates the map. |
|
abstract fun addOnMapViewPortChangedListener(onMapViewPortChangedListener: TomtomMapCallback.OnMapViewPortChanged!): Unit
Set callback interface that is executed when the map view port is changed. It happens when e.g., a map is panned or zoomed. |
|
abstract fun getOnMapChangedListener(): CallbackContainer<TomtomMapCallback.OnMapChangedListener!>!
Returns a container of the assigned map changed listener. If no listener had been assigned then the returned container is empty. |
|
abstract fun getOnMapClickListener(): CallbackContainer<TomtomMapCallback.OnMapClickListener!>!
Returns a container of the assigned map click listener. If no listener had been assigned then the returned container is empty. |
|
abstract fun getOnMapDoubleClickListener(): CallbackContainer<TomtomMapCallback.OnMapDoubleClickListener!>!
Returns a container of the assigned map double-click listener. If no listener had been assigned then the returned container is empty. |
|
abstract fun getOnMapLongClickListener(): CallbackContainer<TomtomMapCallback.OnMapLongClickListener!>!
Returns a container of the assigned map long click listener. If no listener had been assigned then the returned container is empty. |
|
abstract fun getOnMapPanningListener(): CallbackContainer<TomtomMapCallback.OnMapPanningListener!>!
Returns a container of the assigned map panning listener. If no listener had been assigned then the returned container is empty. |
|
abstract fun getOnMapRotateListener(): CallbackContainer<TomtomMapCallback.OnMapRotateListener!>!
Returns a container of the assigned map rotate listener. If no listener had been assigned then the returned container is empty. |
|
abstract fun getOnMapViewPortChangedListener(): CallbackContainer<TomtomMapCallback.OnMapViewPortChanged!>!
Returns a container of the assigned map ViewPort changes listener. If no listener had been assigned then the returned container is empty. |
|
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 removeOnMapViewPortChangedListener(listener: TomtomMapCallback.OnMapViewPortChanged!): Unit
Unregister the map view port changes listener. |
interface TomtomMap : RouteExtension, MarkerExtension, MapManipulationExtension, MapInfoExtension, MapCallbacksExtension, MapViewExtension, MarkersCallbackExtension, OverlaysCallbackExtension, RouteCallbackExtension, LocationSourceExtension, OnRequestPermissionsResultCallback
Interface that is the main entry point for all methods related to the map. |