Class GeoJsonPoint<TCoordinates>
- Namespace
- MongoDB.Driver.GeoJsonObjectModel
- Assembly
- MongoDB.Driver.dll
Represents a GeoJson Point object.
[BsonSerializer(typeof(GeoJsonPointSerializer<>))]
public class GeoJsonPoint<TCoordinates> : GeoJsonGeometry<TCoordinates> where TCoordinates : GeoJsonCoordinates
Type Parameters
TCoordinates
The type of the coordinates.
- Inheritance
-
GeoJsonObject<TCoordinates>GeoJsonGeometry<TCoordinates>GeoJsonPoint<TCoordinates>
- Inherited Members
Constructors
- GeoJsonPoint(GeoJsonObjectArgs<TCoordinates>, TCoordinates)
Initializes a new instance of the GeoJsonPoint<TCoordinates> class.
- GeoJsonPoint(TCoordinates)
Initializes a new instance of the GeoJsonPoint<TCoordinates> class.
Properties
- Coordinates
Gets the coordinates.
- Type
Gets the type of the GeoJson object.