GeoJsonPointTCoordinates Method (GeoJsonObjectArgsTCoordinates, TCoordinates) |
Creates a GeoJson Point object.
Namespace:
MongoDB.Driver.GeoJsonObjectModel
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax public static GeoJsonPoint<TCoordinates> Point<TCoordinates>(
GeoJsonObjectArgs<TCoordinates> args,
TCoordinates coordinates
)
where TCoordinates : GeoJsonCoordinates
Public Shared Function Point(Of TCoordinates As GeoJsonCoordinates) (
args As GeoJsonObjectArgs(Of TCoordinates),
coordinates As TCoordinates
) As GeoJsonPoint(Of TCoordinates)
static member Point :
args : GeoJsonObjectArgs<'TCoordinates> *
coordinates : 'TCoordinates -> GeoJsonPoint<'TCoordinates> when 'TCoordinates : GeoJsonCoordinates
Parameters
- args
- Type: MongoDB.Driver.GeoJsonObjectModelGeoJsonObjectArgsTCoordinates
The additional args. - coordinates
- Type: TCoordinates
The coordinates.
Type Parameters
- TCoordinates
- The type of the coordinates.
Return Value
Type:
GeoJsonPointTCoordinatesA GeoJson Point object.
See Also