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