Click or drag to resize

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

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: GeoJsonMultiPolygonTCoordinates
A GeoJson MultiPolygon object.
See Also