addPolygons method

List<PowerGeoPolygon> addPolygons(
  1. List<PowerGeoPolygon> geoJSONPoint
)

Adds a list of PowerGeoPolygon instances to the collection.

  • geoJSONPoint: List of PowerGeoPolygon instances to add.

Returns the updated list of PowerGeoPolygon instances in the collection.

Implementation

List<PowerGeoPolygon> addPolygons(List<PowerGeoPolygon> geoJSONPoint) {
  geoJSONPolygons.addAll(geoJSONPoint);
  return geoJSONPolygons;
}