addPolygon

abstract fun addPolygon(options: OmhPolygonOptions): OmhPolygon?

Adds a polygon to this map. The polygon is rendered on the map based on the provided options.

Return

OmhPolygon that was added to the map.

Parameters

options

a polygon options object that defines how to render the polygon.