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

CurrentLocationClickAction

open class CurrentLocationClickAction : CurrentLocationViewAction

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

Constructors

<init>

CurrentLocationClickAction(clickCallback: MapComponentClickCallback!)

Constructor with ClickableMapComponent.MapComponentClickCallback which is used for listening if user clicked center on map component so proper action could be performed.

Functions

isValid

open fun isValid(): Boolean

perform

open fun perform(actionContext: Context): Unit