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.
tag
Сan be used to identify group of markers.
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 = "")