PolylineOptions
fun PolylineOptions(coordinates: List<GeoPoint>, @ColorInt lineColor: Int = DEFAULT_LINE_COLOR, lineWidths: List<WidthByZoom> = listOf(WidthByZoom(DEFAULT_LINE_WIDTH)), @ColorInt outlineColor: Int = DEFAULT_OUTLINE_COLOR, outlineWidths: List<WidthByZoom> = listOf(WidthByZoom(DEFAULT_OUTLINE_WIDTH)), lineStartCapType: CapType = DEFAULT_START_CAP_TYPE, lineEndCapType: CapType = DEFAULT_END_CAP_TYPE, isClickable: Boolean = true, tag: String? = null)
Parameters
coordinates
Coordinates of the line.
lineColor
Main Color of the polyline.
lineWidths
Widths of the polyline for different zoom levels.
outlineColor
Outline Color for the polyline overlay.
outlineWidths
Outline widths of the polyline for different zoom levels.
isClickable
Sets if the polyline is clickable, if this parameter is false then clicks will be propagated to objects that are below polyline.
tag
Can be used to identify group of polylines.