sdk-maps / com.tomtom.online.sdk.map / MapBalloonViewAdapter

MapBalloonViewAdapter

abstract class MapBalloonViewAdapter<T : MarkerBalloon!> : BalloonViewAdapter<T, MapPoint!>

View adapter for map balloon - balloon displayed on map and related with point on the map.

Constructors

<init>

MapBalloonViewAdapter()

View adapter for map balloon - balloon displayed on map and related with point on the map.

Functions

getBalloonOffset

open fun getBalloonOffset(mapPoint: MapPoint): Point

getBalloonView

open fun getBalloonView(): View

getLayout

abstract fun <M : T> getLayout(mapPoint: MapPoint, balloonModel: M): Int

onBindView

open fun <M : T> onBindView(view: View, mapPoint: MapPoint, balloon: M): Unit

onCreateView

open fun <M : T> onCreateView(container: ViewGroup, mapPoint: MapPoint, balloonModel: M): View!

Inheritors

TrafficFlowBalloonViewAdapter

abstract class TrafficFlowBalloonViewAdapter : MapBalloonViewAdapter<TrafficFlowMapBalloon!>

Default abstract implementation for inflating traffic balloon model. Extends TrafficFlowBalloonViewAdapter to provide own implementation of traffic view adapter.

TrafficIncidentsBalloonViewAdapter

abstract class TrafficIncidentsBalloonViewAdapter : MapBalloonViewAdapter<TrafficIncidentsMapBalloon!>

Default abstract implementation for inflating traffic balloon model. Extends TrafficIncidentsBalloonViewAdapter to provide own implementation of traffic view adapter.