MTTextPopup

class MTTextPopup(val identifier: String = "mark", _coordinates: LngLat) : MTAnnotation

Constructors

constructor(coordinates: LngLat, text: String)
constructor(coordinates: LngLat, text: String, offset: Double)
constructor(identifier: String = "mark", _coordinates: LngLat)

Properties

open override val coordinates: LngLat

Position of the popup on the map.

open override val identifier: String

The pixel distance from the popup's coordinates.

Text content of the popup.

Functions

open override fun setCoordinates(coordinates: LngLat, mapViewController: MTMapViewController)

Sets coordinates for the popup.