public class FeatureCollection extends BaseFeatureCollection
| Modifier | Constructor and Description |
|---|---|
protected |
FeatureCollection(java.util.List<Feature> features)
Protected constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static FeatureCollection |
fromFeatures(Feature[] features) |
static FeatureCollection |
fromFeatures(java.util.List<Feature> features)
Create a
FeatureCollection from a List of features. |
java.util.List<Feature> |
getFeatures()
Get the List containing all the features within collection.
|
fromJson, getType, toJsonpublic java.util.List<Feature> getFeatures()
public static FeatureCollection fromFeatures(java.util.List<Feature> features)
FeatureCollection from a List of features.features - List of FeatureFeatureCollectionpublic static FeatureCollection fromFeatures(Feature[] features)