Mac OS X
Components Crossplatform Mac & Win Server Client Old Guides Examples
New in version: 8.4 8.5 9.0 9.1 9.2 9.3 9.4 9.5 10.0 10.1 Statistic
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|
|latitude||The latitude of the coordinate.|
|longitude||The longitude of the coordinate.|
Available in MBS FileMaker Plugin 10.1 or newer.
Pass 1 to wait for geocoder to have a result.
Pass 0 to not wait and check later if geocoder is done.
Returns reference number or error.
DescriptionSubmits 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.
Reverse geocode location:
Run query and get back JSON or error:
Created 18th August 2014, last changed 12nd February 2020
Feedback: Report problem or ask question.
MBS FileMaker Plugins