Method MultiPoint
- Namespace
- MongoDB.Driver.GeoJsonObjectModel
- Assembly
- MongoDB.Driver.dll
MultiPoint<TCoordinates>(GeoJsonObjectArgs<TCoordinates>, params TCoordinates[])
Creates a GeoJson MultiPoint object.
public static GeoJsonMultiPoint<TCoordinates> MultiPoint<TCoordinates>(GeoJsonObjectArgs<TCoordinates> args, params TCoordinates[] positions) where TCoordinates : GeoJsonCoordinates
Parameters
args
GeoJsonObjectArgs<TCoordinates>The additional args.
positions
TCoordinates[]The positions.
Returns
- GeoJsonMultiPoint<TCoordinates>
A GeoJson MultiPoint object.
Type Parameters
TCoordinates
The type of the coordinates.
MultiPoint<TCoordinates>(params TCoordinates[])
Creates a GeoJson MultiPoint object.
public static GeoJsonMultiPoint<TCoordinates> MultiPoint<TCoordinates>(params TCoordinates[] positions) where TCoordinates : GeoJsonCoordinates
Parameters
positions
TCoordinates[]The positions.
Returns
- GeoJsonMultiPoint<TCoordinates>
A GeoJson MultiPoint object.
Type Parameters
TCoordinates
The type of the coordinates.