Package-level declarations

Types

Link copied to clipboard

Interface for view adapters which can provide a custom balloon View for a Marker.

Link copied to clipboard
data class Label(val text: String, val textColor: Color = Color.BLACK, @FloatRange(from = 0.0, fromInclusive = false) @Dimension(unit = 0) val textSize: Double = DEFAULT_TEXT_SIZE, val fontUri: URI = DEFAULT_FONT_URI, val textAnchoring: TextAnchoring = DEFAULT_TEXT_ANCHORING, val offset: PointF = DEFAULT_OFFSET, val outlineColor: Color = Color.BLACK, @FloatRange(from = 0.0) val outlineWidth: Double = DEFAULT_OUTLINE_WIDTH)

Represents Marker label, including all the label specific attributes.

Link copied to clipboard
class Marker

Defines a visual container which can be added on the map.

Link copied to clipboard

Controls Marker-specific features on the map. Allows Marker management and user interactions with the Marker.

Link copied to clipboard

Exception thrown when a Marker with the given id cannot be found on the map.

Link copied to clipboard
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).

Link copied to clipboard
fun interface OnMarkerClickListener

Interface for notifying about the Marker being clicked (tapped).

Link copied to clipboard

Interface for notifying about the long press gesture applied on a Marker.

Link copied to clipboard

Interface for notifying about the Marker being selected or deselected.

Link copied to clipboard

Options for the horizontal position of the anchor in relation to the Label text.