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 booleanequals(Object obj)GeoBoundingBoxgetBoundingBox()Bounding box for thisGeoObject.Map<String,Object>getCustomProperties()Additional properties about thisGeoObject.abstract GeoObjectTypegetType()Gets the GeoJSON type for this object.inthashCode()
-
-
-
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.
-
-