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.