ShowPolyline

@Serializable
data class ShowPolyline(val id: String, val encodedPolyline: String, @ColorInt val color: Int, val width: Int) : MapEffect

Show a polyline on the map with style

Since

1.1.3

Constructors

Link copied to clipboard
constructor(id: String, encodedPolyline: String, @ColorInt color: Int, width: Int)

Properties

Link copied to clipboard
val color: Int

Resolved color of the polyline

Link copied to clipboard

Google Encoded polyline format of a list of points. Spec

Link copied to clipboard
val id: String

Unique ID of the polyline within this extension

Link copied to clipboard
val width: Int

Thickness of the polyline