PowerGeoJSONFeatureCollection constructor

PowerGeoJSONFeatureCollection({
  1. required List<PowerGeoPoint> geoJSONPoints,
  2. required List<PowerGeoLineString> geoJSONLineStrings,
  3. required List<PowerGeoPolygon> geoJSONPolygons,
})

Creates a PowerGeoJSONFeatureCollection with the specified lists of features.

  • geoJSONPoints: List of PowerGeoPoint instances.
  • geoJSONLineStrings: List of PowerGeoLineString instances.
  • geoJSONPolygons: List of PowerGeoPolygon instances.

Implementation

PowerGeoJSONFeatureCollection({
  required this.geoJSONPoints,
  required this.geoJSONLineStrings,
  required this.geoJSONPolygons,
});