addPolygons method
Add polygons to the map view.
Implementation
Future<List<Polygon?>> addPolygons(List<PolygonOptions> polygonOptions) {
return GoogleMapsNavigationPlatform.instance.viewAPI.addPolygons(
viewId: _viewId,
polygonOptions: polygonOptions,
);
}