Table of Contents

Method Position

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

Position(double, double)

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

public static GeoJson2DCoordinates Position(double x, double y)

Parameters

x double

The x.

y double

The y.

Returns

GeoJson2DCoordinates

A GeoJson 2D position.

Position(double, double, double)

Creates a GeoJson 3D position (x, y, z).

public static GeoJson3DCoordinates Position(double x, double y, double z)

Parameters

x double

The x.

y double

The y.

z double

The z.

Returns

GeoJson3DCoordinates

A GeoJson 3D position.