public final class GeoPolygonCollection extends GeoObject
GeoPolygons.| Constructor and Description |
|---|
GeoPolygonCollection(List<GeoPolygon> polygons)
Constructs a
GeoPolygonCollection. |
GeoPolygonCollection(List<GeoPolygon> polygons,
GeoBoundingBox boundingBox,
Map<String,Object> customProperties)
Constructs a
GeoPolygonCollection. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<GeoPolygon> |
getPolygons()
Unmodifiable representation of the
geometric polygons representing this multi-polygon. |
GeoObjectType |
getType()
Gets the GeoJSON type for this object.
|
int |
hashCode() |
getBoundingBox, getCustomPropertiespublic GeoPolygonCollection(List<GeoPolygon> polygons)
GeoPolygonCollection.polygons - The polygons that define the multi-polygon.NullPointerException - If polygons is null.public GeoPolygonCollection(List<GeoPolygon> polygons, GeoBoundingBox boundingBox, Map<String,Object> customProperties)
GeoPolygonCollection.polygons - The polygons that define the multi-polygon.boundingBox - Bounding box for the multi-polygon.customProperties - Additional properties of the multi-polygon.NullPointerException - If polygons is null.public List<GeoPolygon> getPolygons()
geometric polygons representing this multi-polygon.geometric polygons representing this
multi-polygon.public GeoObjectType getType()
GeoObjectCopyright © 2021 Microsoft Corporation. All rights reserved.