GeoJsonObjectType Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.maps.search.models.GeoJsonObjectType

public enum GeoJsonObjectType
extends Enum<GeoJsonObjectType>

Specifies the `GeoJSON` type. Must be one of the nine valid GeoJSON object types - Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, GeometryCollection, Feature and FeatureCollection.

Fields

GEO_JSON_FEATURE

`GeoJSON Feature` object.

GEO_JSON_FEATURE_COLLECTION

`GeoJSON FeatureCollection` object.

GEO_JSON_GEOMETRY_COLLECTION

`GeoJSON GeometryCollection` geometry.

GEO_JSON_LINE_STRING

`GeoJSON LineString` geometry.

GEO_JSON_MULTI_LINE_STRING

`GeoJSON MultiLineString` geometry.

GEO_JSON_MULTI_POINT

`GeoJSON MultiPoint` geometry.

GEO_JSON_MULTI_POLYGON

`GeoJSON MultiPolygon` geometry.

GEO_JSON_POINT

`GeoJSON Point` geometry.

GEO_JSON_POLYGON

`GeoJSON Polygon` geometry.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static GeoJsonObjectType fromString(String value)

Parses a serialized value to a GeoJsonObjectType instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed GeoJsonObjectType object, or null if unable to parse.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static GeoJsonObjectType valueOf(String name)

Parameters

name
String

Returns

values()

public static GeoJsonObjectType[] values()

Returns

Applies to