MarkerOptions

data class MarkerOptions(val coordinate: GeoPoint, val pinImage: Image, val pinIconImage: Image? = null, val shieldImage: Image? = null, val tag: Any? = null, val label: Label? = null, val balloonText: String = "")

Defines configuration options for a Marker view which can be added and displayed on the map. See TomTomMap.addMarker(options: MarkerOptions).

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

coordinate

Location of the given Marker.

pinImage

Image that will be used as a Marker pin.

pinIconImage

Image that will be used as a Marker pin icon.

shieldImage

Image that will be used as a Marker shield.

tag

Optional holder for custom extra information about the requested Marker.

label

Label textually describing the Marker.

balloonText

Text displayed within the marker balloon (if visible).

See detailed description for marker images.

Constructors

Link copied to clipboard
fun MarkerOptions(coordinate: GeoPoint, pinImage: Image, pinIconImage: Image? = null, shieldImage: Image? = null, tag: Any? = null, label: Label? = null, balloonText: String = "")

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val label: Label? = null
Link copied to clipboard
val pinIconImage: Image? = null
Link copied to clipboard
Link copied to clipboard
val shieldImage: Image? = null
Link copied to clipboard
val tag: Any? = null