Package com.azure.core.models
Class GeoObject
- java.lang.Object
-
- com.azure.core.models.GeoObject
-
- Direct Known Subclasses:
GeoCollection
,GeoLineString
,GeoLineStringCollection
,GeoPoint
,GeoPointCollection
,GeoPolygon
,GeoPolygonCollection
public abstract class GeoObject extends Object
An abstract geo object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
GeoBoundingBox
getBoundingBox()
Bounding box for thisGeoObject
.Map<String,Object>
getCustomProperties()
Additional properties about thisGeoObject
.abstract GeoObjectType
getType()
Gets the GeoJSON type for this object.int
hashCode()
-
-
-
Method Detail
-
getType
public abstract GeoObjectType getType()
Gets the GeoJSON type for this object.- Returns:
- The GeoJSON type for this object.
-
getBoundingBox
public final GeoBoundingBox getBoundingBox()
Bounding box for thisGeoObject
.- Returns:
- The bounding box for this
GeoObject
.
-
getCustomProperties
public final Map<String,Object> getCustomProperties()
Additional properties about thisGeoObject
.- Returns:
- An unmodifiable representation of the additional properties associated with this
GeoObject
.
-
-