MarkerOptions

data class MarkerOptions(val coordinate: GeoPoint, val pinImage: Image, val pinIconImage: Image? = null, val shieldImage: Image? = null, val pinIconAnchor: PointF = Marker.DEFAULT_PIN_ICON_ANCHOR, val placementAnchor: PointF = Marker.DEFAULT_PLACEMENT_ANCHOR, val shieldImageAnchor: PointF = Marker.DEFAULT_SHIELD_IMAGE_ANCHOR, val tag: String? = 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).

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

Сan be used to identify group of markers.

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, pinIconAnchor: PointF = Marker.DEFAULT_PIN_ICON_ANCHOR, placementAnchor: PointF = Marker.DEFAULT_PLACEMENT_ANCHOR, shieldImageAnchor: PointF = Marker.DEFAULT_SHIELD_IMAGE_ANCHOR, tag: String? = 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
Link copied to clipboard
val pinIconImage: Image? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val shieldImage: Image? = null
Link copied to clipboard
Link copied to clipboard
val tag: String? = null