Click or drag to resize

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

Creates a GeoJson FeatureCollection object.

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

Parameters

args
Type: MongoDB.Driver.GeoJsonObjectModel.GeoJsonObjectArgs<TCoordinates>
The additional args.
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