Table of Contents

Class GeoJsonGeometryCollection<TCoordinates>

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

Represents a GeoJson GeometryCollection object.

[BsonSerializer(typeof(GeoJsonGeometryCollectionSerializer<>))]
public class GeoJsonGeometryCollection<TCoordinates> : GeoJsonGeometry<TCoordinates> where TCoordinates : GeoJsonCoordinates

Type Parameters

TCoordinates

The type of the coordinates.

Inheritance
GeoJsonObject<TCoordinates>
GeoJsonGeometry<TCoordinates>
GeoJsonGeometryCollection<TCoordinates>
Inherited Members

Constructors

GeoJsonGeometryCollection(GeoJsonObjectArgs<TCoordinates>, IEnumerable<GeoJsonGeometry<TCoordinates>>)

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

GeoJsonGeometryCollection(IEnumerable<GeoJsonGeometry<TCoordinates>>)

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

Properties

Geometries

Gets the geometries.

Type

Gets the type of the GeoJson object.