Package-level declarations

Types

Link copied to clipboard
value class CapType

Type of line start/end caps.

Link copied to clipboard
data class GeoJsonPolylineOptions(var sourceId: String, var properties: Properties, var coordinates: List<GeoPoint>, val isClickable: Boolean = true)

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

Link copied to clipboard
class Polyline

A Polyline overlay which was added to the map.

Link copied to clipboard
fun interface PolylineClickListener

Interface for notifying about the Polyline being clicked.

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

Exception thrown when an operation on Polyline with the given id is not supported.

Link copied to clipboard
data class PolylineOptions(var coordinates: List<GeoPoint>, @ColorInt val lineColor: Int = DEFAULT_LINE_COLOR, val lineWidths: List<WidthByZoom> = listOf(WidthByZoom(DEFAULT_LINE_WIDTH)), @ColorInt val outlineColor: Int = 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, val tag: String? = null, val patternImage: Image? = null)

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.