geometry.base.Polygon.fromEncodedCoordinates

Static function.

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

Returns a geometry.

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

Parameters:

Parameter Default value Description
encodedCoordinates *

Type: String

Base64-encoded coordinates of polygon points.

* Mandatory parameter/option.