Class GeoJsonFeature<TCoordinates>
- Namespace
- MongoDB.Driver.GeoJsonObjectModel
- Assembly
- MongoDB.Driver.dll
public class GeoJsonFeature<TCoordinates> : GeoJsonObject<TCoordinates> where TCoordinates : GeoJsonCoordinates
Type Parameters
TCoordinates
- Inheritance
-
GeoJsonFeature<TCoordinates>
- Inherited Members
-
Constructors
GeoJsonFeature(GeoJsonFeatureArgs<TCoordinates>, GeoJsonGeometry<TCoordinates>)
public GeoJsonFeature(GeoJsonFeatureArgs<TCoordinates> args, GeoJsonGeometry<TCoordinates> geometry)
Parameters
args
GeoJsonFeatureArgs<TCoordinates>
geometry
GeoJsonGeometry<TCoordinates>
GeoJsonFeature(GeoJsonGeometry<TCoordinates>)
public GeoJsonFeature(GeoJsonGeometry<TCoordinates> geometry)
Parameters
geometry
GeoJsonGeometry<TCoordinates>
Properties
Geometry
public GeoJsonGeometry<TCoordinates> Geometry { get; }
Property Value
- GeoJsonGeometry<TCoordinates>
Id
public BsonValue Id { get; }
Property Value
- BsonValue
Properties
public BsonDocument Properties { get; }
Property Value
- BsonDocument
Type
public override GeoJsonObjectType Type { get; }
Property Value
- GeoJsonObjectType