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, @ColorInt val textColor: Int = 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, @ColorInt val outlineColor: Int = 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
fun interface MarkerClickListener

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

Link copied to clipboard

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

Link copied to clipboard

Interface for notifying about the long press gesture applied on a 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 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).

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.