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 the user's current location. When clicked, the map is centered on the current location that is obtained from a 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 when clicking on the 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).