addPolyline

open fun addPolyline(@NonNull polylineOptions: PolylineOptions): Polyline

Deprecated

As of 7.0.0, use MapLibre Annotation Plugin instead

Adds a polyline to this map.

Return

The Polyine that was added to the map

Parameters

polylineOptions

A polyline options object that defines how to render the polyline