Class GeoJson2DCoordinates

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.GeoJsonObjectModel

Assembly

MongoDB.Driver.dll

Represents a GeoJson 2D position (x, y).

[BsonSerializer(typeof(GeoJson2DCoordinatesSerializer))]
public class GeoJson2DCoordinates : GeoJsonCoordinates, IEquatable<GeoJsonCoordinates>

Inheritance

GeoJson2DCoordinates

Implements

Inherited Members

Constructors

GeoJson2DCoordinates(double, double)

Initializes a new instance of the GeoJson2DCoordinates class.

Properties

Values

Gets the coordinate values.

X

Gets the X coordinate.

Y

Gets the Y coordinate.