Table of Contents

Constructor GeoJsonFeature

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

GeoJsonFeature(GeoJsonGeometry<TCoordinates>)

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

public GeoJsonFeature(GeoJsonGeometry<TCoordinates> geometry)

Parameters

geometry GeoJsonGeometry<TCoordinates>

The geometry.

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

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

public GeoJsonFeature(GeoJsonFeatureArgs<TCoordinates> args, GeoJsonGeometry<TCoordinates> geometry)

Parameters

args GeoJsonFeatureArgs<TCoordinates>

The additional args.

geometry GeoJsonGeometry<TCoordinates>

The geometry.