Class GeoJsonLineString

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

Namespace

MongoDB.Driver.GeoJsonObjectModel

Assembly

MongoDB.Driver.dll

Represents a GeoJson LineString object.

[BsonSerializer(typeof(GeoJsonLineStringSerializer<>))]
public class GeoJsonLineString<TCoordinates> : GeoJsonGeometry<TCoordinates> where TCoordinates : GeoJsonCoordinates

Type Parameters

TCoordinates

The type of the coordinates.

Inheritance

GeoJsonLineString

Inherited Members

Constructors

GeoJsonLineString(GeoJsonLineStringCoordinates)

Initializes a new instance of the GeoJsonLineString class.

GeoJsonLineString(GeoJsonObjectArgs, GeoJsonLineStringCoordinates)

Initializes a new instance of the GeoJsonLineString class.

Properties

Coordinates

Gets the coordinates.

Type

Gets the type of the GeoJson object.