public class FeatureCollection extends GeoJsonObject
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
JSON_FEATURES |
| Constructor and Description |
|---|
FeatureCollection() |
FeatureCollection(JMapGeoElement[] geoElements) |
FeatureCollection(JMapGeoElement[] geoElements,
Attribute[] attributes) |
FeatureCollection(JMapGeoElement[] geoElements,
Attribute[] attributes,
boolean excludeNullValues) |
FeatureCollection(JMapGeoElement[] geoElements,
Attribute[] attributes,
boolean excludeNullValues,
Projection sourceProjection) |
FeatureCollection(JMapGeoElement[] geoElements,
Attribute[] attributes,
boolean excludeNullValues,
Projection sourceProjection,
Project project,
VectorLayerInfo vectorLayerInfo) |
FeatureCollection(JMapGeoElement[] geoElements,
java.util.List<LayerAttribute> layerAttributes)
Deprecated.
|
FeatureCollection(JMapGeoElement[] geoElements,
java.util.List<LayerAttribute> layerAttributes,
boolean excludeNullValues)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFeature(Feature feature) |
int |
getCount() |
Feature[] |
getFeatures() |
java.lang.String |
getType() |
void |
setFeatures(Feature[] features) |
public static final java.lang.String JSON_FEATURES
public FeatureCollection()
public FeatureCollection(JMapGeoElement[] geoElements)
@Deprecated public FeatureCollection(JMapGeoElement[] geoElements, java.util.List<LayerAttribute> layerAttributes)
public FeatureCollection(JMapGeoElement[] geoElements, Attribute[] attributes)
@Deprecated public FeatureCollection(JMapGeoElement[] geoElements, java.util.List<LayerAttribute> layerAttributes, boolean excludeNullValues)
public FeatureCollection(JMapGeoElement[] geoElements, Attribute[] attributes, boolean excludeNullValues)
public FeatureCollection(JMapGeoElement[] geoElements, Attribute[] attributes, boolean excludeNullValues, Projection sourceProjection)
public FeatureCollection(JMapGeoElement[] geoElements, Attribute[] attributes, boolean excludeNullValues, Projection sourceProjection, Project project, VectorLayerInfo vectorLayerInfo)
public void addFeature(Feature feature)
public java.lang.String getType()
getType in class GeoJsonObjectpublic int getCount()
public Feature[] getFeatures()
public void setFeatures(Feature[] features)