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

<init>

CurrentLocationClickAction(clickCallback: ClickableMapComponent.MapComponentClickCallback!)

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

Parameters

clickCallback - ClickableMapComponent.MapComponentClickCallback!: listener for center on map component clicks.