GeoJsonPointTCoordinates Method (GeoJsonObjectArgsTCoordinates, TCoordinates) |
Creates a GeoJson Point object.
Namespace:
MongoDB.Driver.GeoJsonObjectModel
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
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