MarkerOptions
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).
Constructors
Link copied to clipboard
constructor(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
Text displayed within the marker balloon (if visible).
Link copied to clipboard
Location of the given Marker.
Link copied to clipboard
Sets the position of the icon relative to the pin. When the given x/y values are outside of the range 0, 1, the icon moves more than the width/height of the pin.
Link copied to clipboard
Link copied to clipboard
Sets the whole marker's pin offset.
Link copied to clipboard
Link copied to clipboard
Sets the pin's shield anchor.