Polyline

data class Polyline(val coordinates: List<Coordinates>, val width: Float, val lineColor: Color? = null)

Represents a polyline overlay on the map.

Parameters

coordinates

List of coordinates that define the polyline's path

width

The width of the polyline

lineColor

The color of the polyline

Constructors

Link copied to clipboard
constructor(coordinates: List<Coordinates>, width: Float, lineColor: Color? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val lineColor: Color? = null
Link copied to clipboard