com.google.maps.clients.mapsengine.geojson
FEATURE_TYPE| Constructor and Description |
|---|
GeometryCollection(com.google.api.services.mapsengine.model.Feature feature)
Converts the provided Feature into a typed GeometryCollection, discarding properties.
|
GeometryCollection(java.util.List<Geometry> geometries)
Creates a GeometryCollection from the provided Geometries
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.services.mapsengine.model.Feature |
asFeature(java.util.Map<java.lang.String,java.lang.Object> properties)
Returns a Feature that can be used by the Maps Engine API.
|
java.util.List<Geometry> |
getGeometries()
Retrieves the list of geometries
|
fromGeoJsonpublic GeometryCollection(java.util.List<Geometry> geometries)
geometries - The ordered list of geometriespublic GeometryCollection(com.google.api.services.mapsengine.model.Feature feature)
feature - the Feature returned by the APIjava.lang.IllegalArgumentException - when feature is not a geometry collectionpublic com.google.api.services.mapsengine.model.Feature asFeature(java.util.Map<java.lang.String,java.lang.Object> properties)
public java.util.List<Geometry> getGeometries()