toGeoPolyline

@Nullable
open fun toGeoPolyline(): @Nullable GeoPolyline

Materializes a GeoPolyline from this native polyline. Returns null if the polyline yields fewer than two points (overlap is undefined then).

Return

the polyline as a GeoPolyline, or null.

Throws

if the underlying native form has been disposed.