addPolygons

open fun addPolygons(@NonNull polygonOptionsList: List<PolygonOptions>): List<Polygon>

Deprecated

As of 7.0.0, use MapLibre Annotation Plugin instead

Adds multiple polygons to this map.

Return

A list of the Polygons that were added to the map

Parameters

polygonOptionsList

A list of polygon options objects that defines how to render the polygons