geometry.base.LineString.fromEncodedCoordinates

Static function.

Creates a geometry.base.LineString geometry based on a string of Base64-encoded coordinates.

Returns a geometry.

{ geometry.base.LineString } geometry.base.LineString.fromEncodedCoordinates(encodedCoordinates)

Parameters:

Parameter Default value Description
encodedCoordinates *

Type: String

Base64-encoded coordinates of polyline points.

* Mandatory parameter/option.