getPolygons

Deprecated

As of 7.0.0, use MapLibre Annotation Plugin instead

Returns a list of all the polygons on the map.

Return

A list of all the polygon objects. The returned object is a copy so modifying this list will not update the map.