Table of Contents

Class GeoJson2DGeographicCoordinates

Namespace
MongoDB.Driver.GeoJsonObjectModel
Assembly
MongoDB.Driver.dll

Represents a GeoJson 2D geographic position (longitude, latitude).

[BsonSerializer(typeof(GeoJson2DGeographicCoordinatesSerializer))]
public class GeoJson2DGeographicCoordinates : GeoJsonCoordinates, IEquatable<GeoJsonCoordinates>
Inheritance
GeoJson2DGeographicCoordinates
Implements
Inherited Members

Constructors

GeoJson2DGeographicCoordinates(double, double)

Initializes a new instance of the GeoJson2DGeographicCoordinates class.

public GeoJson2DGeographicCoordinates(double longitude, double latitude)

Parameters

longitude double

The longitude.

latitude double

The latitude.

Properties

Latitude

Gets the latitude.

public double Latitude { get; }

Property Value

double

Longitude

Gets the longitude.

public double Longitude { get; }

Property Value

double

Values

Gets the coordinate values.

public override ReadOnlyCollection<double> Values { get; }

Property Value

ReadOnlyCollection<double>