sdk-maps-ui-extensions / com.tomtom.online.sdk.map.ui.currentlocation

Package com.tomtom.online.sdk.map.ui.currentlocation

Types

BasicCurrentLocationView

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.

CurrentLocationClickAction

open class CurrentLocationClickAction : CurrentLocationViewAction

Class with listener to check if user clicked center on map component.

CurrentLocationView

interface CurrentLocationView : MapComponentView, ClickableMapComponent

The current location view api.

CurrentLocationViewAction

interface CurrentLocationViewAction

To override behavior for click on current location button implement interface.

CurrentLocationViewAdapter

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