Class GeoJsonMultiPoint<TCoordinates>
- Namespace
- MongoDB.Driver.GeoJsonObjectModel
- Assembly
- MongoDB.Driver.dll
Represents a GeoJson MultiPoint object.
[BsonSerializer(typeof(GeoJsonMultiPointSerializer<>))]
public class GeoJsonMultiPoint<TCoordinates> : GeoJsonGeometry<TCoordinates> where TCoordinates : GeoJsonCoordinates
Type Parameters
TCoordinates
The type of the coordinates.
- Inheritance
-
GeoJsonObject<TCoordinates>GeoJsonGeometry<TCoordinates>GeoJsonMultiPoint<TCoordinates>
- Inherited Members
Constructors
GeoJsonMultiPoint(GeoJsonMultiPointCoordinates<TCoordinates>)
Initializes a new instance of the GeoJsonMultiPoint<TCoordinates> class.
public GeoJsonMultiPoint(GeoJsonMultiPointCoordinates<TCoordinates> coordinates)
Parameters
coordinates
GeoJsonMultiPointCoordinates<TCoordinates>The coordinates.
GeoJsonMultiPoint(GeoJsonObjectArgs<TCoordinates>, GeoJsonMultiPointCoordinates<TCoordinates>)
Initializes a new instance of the GeoJsonMultiPoint<TCoordinates> class.
public GeoJsonMultiPoint(GeoJsonObjectArgs<TCoordinates> args, GeoJsonMultiPointCoordinates<TCoordinates> coordinates)
Parameters
args
GeoJsonObjectArgs<TCoordinates>The additional args.
coordinates
GeoJsonMultiPointCoordinates<TCoordinates>The coordinates.
Properties
Coordinates
Gets the coordinates.
public GeoJsonMultiPointCoordinates<TCoordinates> Coordinates { get; }
Property Value
- GeoJsonMultiPointCoordinates<TCoordinates>
Type
Gets the type of the GeoJson object.
public override GeoJsonObjectType Type { get; }