Table of Contents

Class GeoJsonFeatureCollection<TCoordinates>

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

Represents a GeoJson FeatureCollection.

[BsonSerializer(typeof(GeoJsonFeatureCollectionSerializer<>))]
public class GeoJsonFeatureCollection<TCoordinates> : GeoJsonObject<TCoordinates> where TCoordinates : GeoJsonCoordinates

Type Parameters

TCoordinates

The type of the coordinates.

Inheritance
GeoJsonObject<TCoordinates>
GeoJsonFeatureCollection<TCoordinates>
Inherited Members

Constructors

GeoJsonFeatureCollection(GeoJsonObjectArgs<TCoordinates>, IEnumerable<GeoJsonFeature<TCoordinates>>)

Initializes a new instance of the GeoJsonFeatureCollection<TCoordinates> class.

GeoJsonFeatureCollection(IEnumerable<GeoJsonFeature<TCoordinates>>)

Initializes a new instance of the GeoJsonFeatureCollection<TCoordinates> class.

Properties

Features

Gets the features.

Type

Gets the type of the GeoJson object.