Returns the area of a geodesic polygon defined by path on Earth.
The “inside” of the polygon is defined as not containing the South pole.
If path is not closed, it is implicitly treated as a closed path nevertheless and the result is
the same.
All coordinates of the path must be valid.
The polygon must be simple (not self-overlapping) and may be concave.
If any segment of the path is a pair of antipodal points, the result is undefined – because two
antipodal points do not form a unique great circle segment on the sphere.
[[["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-11-15 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSGeometryArea\u003c/code\u003e calculates the area of a geodesic polygon defined by a given path on Earth.\u003c/p\u003e\n"],["\u003cp\u003eThe calculation assumes the polygon's interior excludes the South Pole and treats the path as closed even if it's not explicitly defined as such.\u003c/p\u003e\n"],["\u003cp\u003eThe function requires all path coordinates to be valid and the polygon to be simple (non-self-intersecting), although it can be concave.\u003c/p\u003e\n"],["\u003cp\u003eResults are undefined if any segment of the path consists of antipodal points, as they don't form a unique great circle segment.\u003c/p\u003e\n"]]],[],null,["GMSGeometryArea \n\n extern double GMSGeometryArea(../Classes/GMSPath.html *_Nonnull path)\n\nReturns the area of a geodesic polygon defined by `path` on Earth.\n\nThe \"inside\" of the polygon is defined as not containing the South pole.\n\nIf `path` is not closed, it is implicitly treated as a closed path nevertheless and the result is\nthe same.\n\nAll coordinates of the path must be valid.\n\nThe polygon must be simple (not self-overlapping) and may be concave.\n\nIf any segment of the path is a pair of antipodal points, the result is undefined -- because two\nantipodal points do not form a unique great circle segment on the sphere."]]