Constructor GeoJsonGeometryCollection
- Namespace
- MongoDB.Driver.GeoJsonObjectModel
- Assembly
- MongoDB.Driver.dll
GeoJsonGeometryCollection(IEnumerable<GeoJsonGeometry<TCoordinates>>)
Initializes a new instance of the GeoJsonGeometryCollection<TCoordinates> class.
public GeoJsonGeometryCollection(IEnumerable<GeoJsonGeometry<TCoordinates>> geometries)
Parameters
geometries
IEnumerable<GeoJsonGeometry<TCoordinates>>The geometries.
GeoJsonGeometryCollection(GeoJsonObjectArgs<TCoordinates>, IEnumerable<GeoJsonGeometry<TCoordinates>>)
Initializes a new instance of the GeoJsonGeometryCollection<TCoordinates> class.
public GeoJsonGeometryCollection(GeoJsonObjectArgs<TCoordinates> args, IEnumerable<GeoJsonGeometry<TCoordinates>> geometries)
Parameters
args
GeoJsonObjectArgs<TCoordinates>The additional args.
geometries
IEnumerable<GeoJsonGeometry<TCoordinates>>The geometries.