FeatureCollectionProperties<T extends Object> constructor

FeatureCollectionProperties<T extends Object>({
  1. MarkerProperties markerProperties = const MarkerProperties(),
  2. PolylineProperties<T>? polylineProperts,
  3. PolygonProperties<T>? polygonProperts,
})

Creates a new instance of FeatureCollectionProperties with optional properties.

The markerProperties, polylineProperties, and polygonProperties parameters allow you to specify custom properties for markers, polylines, and polygons within the GeoJSON feature collection.

Implementation

FeatureCollectionProperties({
  this.markerProperties = const MarkerProperties(),
  PolylineProperties<T>? polylineProperts,
  PolygonProperties<T>? polygonProperts,
}) {
  polylineProperties = polylineProperts ?? PolylineProperties<T>();
  polygonProperties = polygonProperts ?? PolygonProperties<T>();
}