public final class GeoCollection extends GeoObject
GeoObjects.| Constructor and Description |
|---|
GeoCollection(List<GeoObject> geometries)
Constructs a
GeoCollection. |
GeoCollection(List<GeoObject> geometries,
GeoBoundingBox boundingBox,
Map<String,Object> customProperties)
Constructs a
GeoCollection. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<GeoObject> |
getGeometries()
Unmodifiable representation of the
geometries contained in this collection. |
GeoObjectType |
getType()
Gets the GeoJSON type for this object.
|
int |
hashCode() |
getBoundingBox, getCustomPropertiespublic GeoCollection(List<GeoObject> geometries)
GeoCollection.geometries - The geometries in the collection.NullPointerException - If geometries is null.public GeoCollection(List<GeoObject> geometries, GeoBoundingBox boundingBox, Map<String,Object> customProperties)
GeoCollection.geometries - The geometries in the collection.boundingBox - Bounding box for the GeoCollection.customProperties - Additional properties of the GeoCollection.NullPointerException - If geometries is null.public List<GeoObject> getGeometries()
geometries contained in this collection.geometries in this collection.public GeoObjectType getType()
GeoObjectCopyright © 2021 Microsoft Corporation. All rights reserved.