addPolygon abstract method

PolygonMapObject addPolygon(
  1. Polygon polygon
)

Creates a new polygon and adds it to the current collection.

Implementation

mapkit_map_polygon.PolygonMapObject addPolygon(
    mapkit_geometry_geometry.Polygon polygon);