New pricing changes will go into effect starting July 16, 2018. For more information, check out the Guide for Existing Users.

GMSGeocoder Class Reference


Overview

Exposes a service for reverse geocoding.

This maps Earth coordinates (latitude and longitude) to a collection of addresses near that coordinate.

Public Member Functions

(void) - reverseGeocodeCoordinate:completionHandler:
 Reverse geocodes a coordinate on the Earth's surface.

Static Public Member Functions

(GMSGeocoder *) + geocoder
 Convenience constructor for GMSGeocoder.

Related Functions

(Note that these are not member functions.)

typedef void(^ GMSReverseGeocodeCallback )(GMSReverseGeocodeResponse *_Nullable, NSError *_Nullable)
 Handler that reports a reverse geocoding response, or error.

Member Function Documentation

Convenience constructor for GMSGeocoder.

- (void) reverseGeocodeCoordinate: (CLLocationCoordinate2D)  coordinate
completionHandler: (GMSReverseGeocodeCallback handler 

Reverse geocodes a coordinate on the Earth's surface.

Parameters:
coordinateThe coordinate to reverse geocode.
handlerThe callback to invoke with the reverse geocode results. The callback will be invoked asynchronously from the main thread.

Friends And Related Function Documentation

- (typedef void(^ GMSReverseGeocodeCallback)(GMSReverseGeocodeResponse *_Nullable, NSError *_Nullable)) [related]

Handler that reports a reverse geocoding response, or error.

Send feedback about...

Maps SDK for iOS
Maps SDK for iOS
Need help? Visit our support page.