open class SingleLayoutBalloonViewAdapter : BaseBalloonViewAdapter<BaseMarkerBalloon!>
Adapter which inflate one single layout for all balloons.
SingleLayoutBalloonViewAdapter(layout: Int)
Provide a layout which is inflated for all marker balloons. |
open fun getLayout(marker: Marker!, balloon: BaseMarkerBalloon!): Int
return layout for marker or marker balloon. In this implementation for all markers and marker balloons layout are the same. |
|
open fun onBindView(view: View!, marker: Marker!, markerBalloon: BaseMarkerBalloon!): Unit
Override to bind marker balloon view model to view inflated from layout. |
open fun getBalloonOffset(marker: Marker!): Point
Specify the position of the balloon relatively to the marker (anchoring). By default it is above the marker icon. It can be overrided to change the default anchoring position. |
|
open fun getBalloonView(): View |
|
open fun <M : T> onCreateView(container: ViewGroup!, marker: Marker!, markerBalloon: M): View!
A callback which is called when inflating model. |
open class TextBalloonViewAdapter : SingleLayoutBalloonViewAdapter
View the adapter and inflater for the "single line" marker balloon. |