copy
fun copy(points: List<LatLng> = this.points, strokeColor: Color = this.strokeColor, strokeWidth: Float = this.strokeWidth, strokePattern: PathEffect? = this.strokePattern, pattern: List<PatternItem>? = this.pattern, startCap: StrokeCap = this.startCap, endCap: StrokeCap = this.endCap, strokeJoin: StrokeJoin = this.strokeJoin, geodesic: Boolean = this.geodesic, spans: List<StyleSpan> = this.spans, visible: Boolean = this.visible, clickable: Boolean = this.clickable, zIndex: Float = this.zIndex, tag: Any? = this.tag): Polyline(source)
Returns a new polyline with the given properties changed, not added to any map.