<PackageReference Include="Azure.Core" Version="1.44.0" />

GeoObject

public abstract class GeoObject
A base type for all spatial types.
public GeoBoundingBox BoundingBox { get; }

Represents information about the coordinate range of the GeoObject.

public abstract GeoObjectType Type { get; }

Gets the GeoJSON type of this object.

public static GeoObject Parse(string json)

Parses an instance of see GeoObject from provided JSON representation.

public bool TryGetCustomProperty(string name, out object value)

Tries to get a value of a custom property associated with the GeoObject.