FeatureCollectionProperties<T extends Object> constructor
- MarkerProperties markerProperties = const MarkerProperties(),
- PolylineProperties<
T> ? polylineProperts, - 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>();
}