Table of Contents

Method LineStringCoordinates

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

LineStringCoordinates<TCoordinates>(params TCoordinates[])

Creates the coordinates of a GeoJson LineString.

public static GeoJsonLineStringCoordinates<TCoordinates> LineStringCoordinates<TCoordinates>(params TCoordinates[] positions) where TCoordinates : GeoJsonCoordinates

Parameters

positions TCoordinates[]

The positions.

Returns

GeoJsonLineStringCoordinates<TCoordinates>

The coordinates of a GeoJson LineString.

Type Parameters

TCoordinates

The type of the coordinates.