open class BasicCurrentLocationView : AppCompatImageView, CurrentLocationView, OnClickListener
Button that is used to center the map on user current location. When clicked, the map is centered on current location that is obtained from TomTom map using the TomtomMap#getCenterOfMap() method. When navigation mode is on, the behaviour is different. When the 'follow the chevron' option is turned on, the route overview is displayed. When the 'follow the chevron' option is turned off, this option is changed to on. |
|
open class CurrentLocationClickAction : CurrentLocationViewAction
Class with listener to check if user clicked center on map component. |
|
interface CurrentLocationView : MapComponentView, ClickableMapComponent
The current location view api. |
|
interface CurrentLocationViewAction
To override behavior for click on current location button implement interface. |
|
interface CurrentLocationViewAdapter
The adapter for current location view that allows to provide custom params (e.g. Context) that will be used internally for selected operations (e.g. show error dialog). |