A list of Polygons, or for one simple polygon, a list of Points or pairs of Numbers in x,y order.
crs
Projection, default: null
The coordinate reference system of the coordinates. The default is the projection of the inputs, where Numbers are assumed to be EPSG:4326.
geodesic
Boolean, default: null
If false, edges are straight in the projection. If true, edges are curved to follow the shortest path on the surface of the Earth. The default is the geodesic state of the inputs, or true if the inputs are numbers.
maxError
ErrorMargin, default: null
Max error when input geometry must be reprojected to an explicitly requested result projection or geodesic state.
evenOdd
Boolean, default: true
If true, polygon interiors will be determined by the even/odd rule, where a point is inside if it crosses an odd number of edges to reach a point at infinity. Otherwise polygons use the left-inside rule, where interiors are on the left side of the shell's edges when walking the vertices in the given order.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-13 UTC."],[[["Creates a MultiPolygon geometry from a list of Polygons, or a list of Points/coordinate pairs for a single polygon."],["Allows specification of coordinate reference system (`crs`), geodesic behavior, maximum error for reprojection, and polygon interior calculation method."],["Defaults to using the projection and geodesic state of the input coordinates, assuming EPSG:4326 for numeric inputs if unspecified."],["Offers control over polygon interiors using the even/odd rule (default) or the left-inside rule."]]],[]]