Package-level declarations

Types

Link copied to clipboard

Type of line start/end caps.

Link copied to clipboard

Interface for notifying about the Polyline being clicked.

Link copied to clipboard
class Polyline

A Polyline overlay which was added to the map.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
data class PolylineOptions(var coordinates: List<GeoPoint>, val lineColor: Color = DEFAULT_LINE_COLOR, val lineWidths: List<WidthByZoom> = listOf(WidthByZoom(DEFAULT_LINE_WIDTH)), val outlineColor: Color = DEFAULT_OUTLINE_COLOR, val outlineWidths: List<WidthByZoom> = listOf(WidthByZoom(DEFAULT_OUTLINE_WIDTH)), val lineStartCapType: CapType = DEFAULT_START_CAP_TYPE, val lineEndCapType: CapType = DEFAULT_END_CAP_TYPE, val isClickable: Boolean = true)

Configures options for a Polyline overlay which can be added and displayed on the map. See the TomTomMap.addPolyline(options: PolylineOptions) to check how to add a new Polyline.