Join us for our next
Google Maps Platform Developer Community Day in San Francisco in December!
Apply now to attend.
GoogleNavigation Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSGeometryArea
extern double GMSGeometryArea(GMSPath *_Nonnull path)
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[],[]]