Documentation
Reference
2.1.50 (current version)
collection
interactivityModel
Interfaces
2.1.51 (release candidate)
collection
interactivityModel
Interfaces

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:

ParameterDefault valueDescription
encodedCoordinates*
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: String

Base64-encoded coordinates of polygon points.

* Mandatory parameter/option.