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
Syntaxpublic static GeoJsonFeatureCollection<TCoordinates> FeatureCollection<TCoordinates>(
params GeoJsonFeature<TCoordinates>[] features
)
where TCoordinates : GeoJsonCoordinates
Public Shared Function FeatureCollection(Of TCoordinates As GeoJsonCoordinates) (
ParamArray features As GeoJsonFeature(Of TCoordinates)()
) As GeoJsonFeatureCollection(Of TCoordinates)
static member FeatureCollection :
features : GeoJsonFeature<'TCoordinates>[] -> GeoJsonFeatureCollection<'TCoordinates> when '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