GoogleMaps Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSGeocoder
@interface GMSGeocoder : NSObject
Exposes a service for reverse geocoding. This maps Earth coordinates (latitude and longitude) to
a collection of addresses near that coordinate.
-
Declaration
Objective-C
+ (GMSGeocoder *)geocoder;
-
Reverse geocodes a coordinate on the Earth’s surface.
Declaration
Objective-C
- (void)reverseGeocodeCoordinate:(CLLocationCoordinate2D)coordinate
completionHandler:(nonnull GMSReverseGeocodeCallback)handler;
Parameters
coordinate
|
The coordinate to reverse geocode.
|
handler
|
The callback to invoke with the reverse geocode results.
The callback will be invoked asynchronously from the main thread.
|
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\u003e\u003ccode\u003eGMSGeocoder\u003c/code\u003e provides reverse geocoding functionality, converting coordinates into addresses.\u003c/p\u003e\n"],["\u003cp\u003eIt offers a shared instance through the \u003ccode\u003egeocoder\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ereverseGeocodeCoordinate\u003c/code\u003e method handles the process of converting coordinates to addresses asynchronously.\u003c/p\u003e\n"],["\u003cp\u003eResults are delivered via a completion handler in Objective-C or as an asynchronous return value in Swift.\u003c/p\u003e\n"]]],[],null,["# GoogleMaps Framework Reference\n\nGMSGeocoder\n===========\n\n @interface GMSGeocoder : NSObject\n\nExposes a service for reverse geocoding. This maps Earth coordinates (latitude and longitude) to\na collection of addresses near that coordinate.\n- `\n ``\n ``\n `\n\n ### [+geocoder](#/c:objc(cs)GMSGeocoder(cm)geocoder)\n\n `\n ` \n\n #### Declaration\n\n Objective-C \n\n + (GMSGeocoder *)geocoder;\n\n- `\n ``\n ``\n `\n\n ### [-reverseGeocodeCoordinate:completionHandler:](#/c:objc(cs)GMSGeocoder(im)reverseGeocodeCoordinate:completionHandler:)\n\n `\n ` \n Reverse geocodes a coordinate on the Earth's surface. \n\n #### Declaration\n\n Swift \n\n func reverseGeocodeCoordinate(_ coordinate: CLLocationCoordinate2D) async throws -\u003e ../Classes/GMSReverseGeocodeResponse.html\n\n Objective-C \n\n - (void)reverseGeocodeCoordinate:(CLLocationCoordinate2D)coordinate\n completionHandler:(nonnull ../Type-Definitions/GMSReverseGeocodeCallback.html)handler;\n\n #### Parameters\n\n |--------------------|----------------------------------------------------------------------------------------------------------------------------|\n | ` `*coordinate*` ` | The coordinate to reverse geocode. |\n | ` `*handler*` ` | The callback to invoke with the reverse geocode results. The callback will be invoked asynchronously from the main thread. |"]]