PolylineOptions

fun PolylineOptions(    coordinates: List<GeoCoordinate>,     lineColor: Color = DEFAULT_LINE_COLOR,     lineWidth: Double = DEFAULT_LINE_WIDTH,     outlineColor: Color = DEFAULT_OUTLINE_COLOR,     outlineWidth: Double = DEFAULT_OUTLINE_WIDTH,     lineStartCapType: CapType = DEFAULT_START_CAP_TYPE,     lineEndCapType: CapType = DEFAULT_END_CAP_TYPE)

Parameters

coordinates

Coordinates of the line.

lineColor

Main Color of the polyline.

lineWidth

Width of the line.

outlineColor

Outline Color for the polyline overlay.

outlineWidth

Width of the outline for the polyline overlay.

lineStartCapType

The CapType of the start cap of the Polyline to be created.

lineEndCapType

The CapType of the end cap of the Polyline to be created.