GeoJsonMultiPolygonTCoordinates Method (GeoJsonObjectArgsTCoordinates, GeoJsonPolygonCoordinatesTCoordinates) |
Creates a GeoJson MultiPolygon object.
Namespace:
MongoDB.Driver.GeoJsonObjectModel
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax public static GeoJsonMultiPolygon<TCoordinates> MultiPolygon<TCoordinates>(
GeoJsonObjectArgs<TCoordinates> args,
params GeoJsonPolygonCoordinates<TCoordinates>[] polygons
)
where TCoordinates : GeoJsonCoordinates
Public Shared Function MultiPolygon(Of TCoordinates As GeoJsonCoordinates) (
args As GeoJsonObjectArgs(Of TCoordinates),
ParamArray polygons As GeoJsonPolygonCoordinates(Of TCoordinates)()
) As GeoJsonMultiPolygon(Of TCoordinates)
static member MultiPolygon :
args : GeoJsonObjectArgs<'TCoordinates> *
polygons : GeoJsonPolygonCoordinates<'TCoordinates>[] -> GeoJsonMultiPolygon<'TCoordinates> when 'TCoordinates : GeoJsonCoordinates
Parameters
- args
- Type: MongoDB.Driver.GeoJsonObjectModelGeoJsonObjectArgsTCoordinates
The additional args. - polygons
- Type: MongoDB.Driver.GeoJsonObjectModelGeoJsonPolygonCoordinatesTCoordinates
The polygons.
Type Parameters
- TCoordinates
- The type of the coordinates.
Return Value
Type:
GeoJsonMultiPolygonTCoordinatesA GeoJson MultiPolygon object.
See Also