Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

CLGeocoder.ReverseGeocodeLocation

Submits a reverse-geocoding request for the specified location.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CLGeocoder 4.1 Yes No Yes, macOS only No Yes

MBS( "CLGeocoder.ReverseGeocodeLocation"; latitude; longitude )

Parameters

Parameter Description Example value
latitude The latitude of the coordinate.
longitude The longitude of the coordinate.

Result

Returns reference number or error.

Description

Submits a reverse-geocoding request for the specified location.
This method submits the specified location data to the geocoding server asynchronously and returns. Your completion handler block will be executed on the main thread. After initiating a reverse-geocoding request, do not attempt to initiate another reverse- or forward-geocoding request.
Geocoding requests are rate-limited for each app, so making too many requests in a short period of time may cause some of the requests to fail. When the maximum rate is exceeded, the geocoder passes an error back.
You need to use CLGeocoder.Close later to free the geocoder.
CoreLocation Geocoder reference numbers are starting at 24000 and counting up for each new geocoder.

Examples

Reverse geocode location:

MBS("CLGeocoder.ReverseGeocodeLocation"; CLGeocoder::Latitude; CLGeocoder::Longitude)

See also

Example Databases


CLGeocoder.PlacemarkValue   -   CUPS.CancelJob

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins