Table of Contents

Class GeoJsonFeature<TCoordinates>

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

Represents a GeoJson Feature object.

[BsonSerializer(typeof(GeoJsonFeatureSerializer<>))]
public class GeoJsonFeature<TCoordinates> : GeoJsonObject<TCoordinates> where TCoordinates : GeoJsonCoordinates

Type Parameters

TCoordinates

The type of the coordinates.

Inheritance
GeoJsonObject<TCoordinates>
GeoJsonFeature<TCoordinates>
Inherited Members

Constructors

GeoJsonFeature(GeoJsonFeatureArgs<TCoordinates>, GeoJsonGeometry<TCoordinates>)

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

GeoJsonFeature(GeoJsonGeometry<TCoordinates>)

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

Properties

Geometry

Gets the geometry.

Id

Gets the id.

Properties

Gets the properties.

Type

Gets the type of the GeoJson object.