addPolygon

abstract fun addPolygon(options: PolygonOptions): Polygon

Adds a new Polygon based on the given PolygonOptions.

Return

Polygon instance with the assigned UniqueId.

Parameters

options

PolygonOptions describing the desired properties of the Polygon.