Table of Contents

Constructor GeoJsonFeatureCollection

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

GeoJsonFeatureCollection(IEnumerable<GeoJsonFeature<TCoordinates>>)

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

public GeoJsonFeatureCollection(IEnumerable<GeoJsonFeature<TCoordinates>> features)

Parameters

features IEnumerable<GeoJsonFeature<TCoordinates>>

The features.

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

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

public GeoJsonFeatureCollection(GeoJsonObjectArgs<TCoordinates> args, IEnumerable<GeoJsonFeature<TCoordinates>> features)

Parameters

args GeoJsonObjectArgs<TCoordinates>

The additional args.

features IEnumerable<GeoJsonFeature<TCoordinates>>

The features.