Package-level declarations
Types
Link copied to clipboard
Interface for notifying about the Polyline being clicked.
Link copied to clipboard
interface PolylineController
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.