PowerGeoPolygon constructor

PowerGeoPolygon({
  1. Map<String, dynamic>? properties,
  2. List<double>? bbox,
  3. String? title,
  4. dynamic id,
  5. required GeoJSONPolygon geometry,
})

Creates a PowerGeoPolygon instance with the specified properties.

  • properties: Optional map of properties associated with the polygon.
  • bbox: Optional bounding box information.
  • title: Optional title for the polygon.
  • id: Unique identifier for the polygon.
  • geometry: The geographic polygon geometry.

Implementation

PowerGeoPolygon({
  Map<String, dynamic>? properties,
  List<double>? bbox,
  String? title,
  dynamic id,
  required this.geometry,
}) : super(properties: properties, bbox: bbox, title: title, id: id);