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.

(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.

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

Handler that reports a reverse geocoding response, or error.