Package com.azure.core.models
Class GeoObjectType
Represents the type of a GeoJSON object.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final GeoObjectType
GeoJSON geometry collection.static final GeoObjectType
GeoJSON line string.static final GeoObjectType
GeoJSON multi-line string.static final GeoObjectType
GeoJSON multi-point.static final GeoObjectType
GeoJSON multi-polygon.static final GeoObjectType
GeoJSON point.static final GeoObjectType
GeoJSON polygon. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic GeoObjectType
fromString
(String name) Creates or gets a GeoObjectType from its string representation.static Collection<GeoObjectType>
values()
Gets all known GeoObjectType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
POINT
GeoJSON point. -
MULTI_POINT
GeoJSON multi-point. -
POLYGON
GeoJSON polygon. -
MULTI_POLYGON
GeoJSON multi-polygon. -
LINE_STRING
GeoJSON line string. -
MULTI_LINE_STRING
GeoJSON multi-line string. -
GEOMETRY_COLLECTION
GeoJSON geometry collection.
-
-
Constructor Details
-
GeoObjectType
public GeoObjectType()
-
-
Method Details
-
fromString
Creates or gets a GeoObjectType from its string representation.- Parameters:
name
- Name of the GeoObjectType.- Returns:
- The corresponding GeoObjectType.
-
values
Gets all known GeoObjectType values.- Returns:
- All known GeoObjectType values.
-