Click or drag to resize

GeoJson.FeatureCollection<TCoordinates> Method (GeoJsonFeature<TCoordinates>[])

Creates a GeoJson FeatureCollection object.

Namespace:  MongoDB.Driver.GeoJsonObjectModel
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
Syntax
public static GeoJsonFeatureCollection<TCoordinates> FeatureCollection<TCoordinates>(
	params GeoJsonFeature<TCoordinates>[] features
)
where TCoordinates : GeoJsonCoordinates

Parameters

features
Type:MongoDB.Driver.GeoJsonObjectModel.GeoJsonFeature<TCoordinates>[]
The features.

Type Parameters

TCoordinates
The type of the coordinates.

Return Value

Type: GeoJsonFeatureCollection<TCoordinates>
A GeoJson FeatureCollection object.
See Also