GoogleMaps Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSUnproject
extern CLLocationCoordinate2D GMSUnproject(GMSMapPoint point)
Unprojects point
from the map. point.x must be in [-1, 1].
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."],[[["\u003cp\u003eThis function, \u003ccode\u003eGMSUnproject\u003c/code\u003e, converts a \u003ccode\u003eGMSMapPoint\u003c/code\u003e back into latitude and longitude coordinates (\u003ccode\u003eCLLocationCoordinate2D\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eIt's important to note that the x-coordinate of the input \u003ccode\u003eGMSMapPoint\u003c/code\u003e should fall within the range of -1 to 1 for accurate unprojection.\u003c/p\u003e\n"]]],["The function `GMSUnproject` converts a map point (`point`) to a geographic coordinate (`CLLocationCoordinate2D`). The input `point.x` must fall within the range of -1 to 1. This operation essentially reverses the projection process, transforming a point on the map's surface back into its corresponding latitude and longitude.\n"],null,["# GoogleMaps Framework Reference\n\nGMSUnproject\n============\n\n extern CLLocationCoordinate2D GMSUnproject(../Structs/GMSMapPoint.html point)\n\nUnprojects `point` from the map. point.x must be in \\[-1, 1\\]."]]