FeatureCollection<E extends Feature<Geometry> >.of constructor
const
FeatureCollection<E extends Feature<Geometry> >.of ({
- required BoundedSeries<
E> features, - Bounds<
Point< ? bounds,num> >
Creates a feature collection from a series of features
.
The features
must BoundedSeries containing feature objects.
If an optional bounds
for a new feature collection is not provided then
bounds of the series of features
is used also as collection bounds.
Implementation
const FeatureCollection.of({
required BoundedSeries<E> features,
Bounds? bounds,
}) : _features = features,
_collectionBounds = bounds;