GeoJSONFeatureCollection constructor
GeoJSONFeatureCollection(
- List<
GeoJSONFeature> features
The constructor for the features
member.
Implementation
GeoJSONFeatureCollection(List<GeoJSONFeature> features) {
final listFeature = ListExt<GeoJSONFeature>();
listFeature.onAdd = (feature) => onAdd(feature!);
listFeature.onAddAll = (features) => onAddAll(features);
listFeature.onRemove = (feature) => onRemove(feature!);
listFeature.addAll(features);
_features = listFeature;
}