Components Crossplatform Mac & Win Server Client Old Deprecated Guides Examples
New in version: 9.0 9.1 9.2 9.3 9.4 9.5 10.0 10.1 10.2 10.3 Statistic
Submits a forward-geocoding request using the specified string.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
|CLGeocoder||4.1||Yes||No||Yes, macOS only||No||Yes|
|Address||A string describing the location you want to look up. For example, you could specify the string "1 Infinite Loop, Cupertino, CA"” to locate Apple headquarters.||"Andernach, Germany"|
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 forward-geocoding request using the specified string.
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 forward-geocoding request, do not attempt to initiate another forward- or reverse-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.
Geocodes an address:
Query in one let statement and return JSON or error:
- Mac and iOS/CoreLocation/Address Mapping
- Mac and iOS/CoreLocation/CLGeocoder
- Mac and iOS/MapKit/MapView BeeExample
- New in the MBS FileMaker Plugin 10.1
- MBS FileMaker Plugin, version 10.1pr4
- Core Location Geocoder with JSON
- Version 10.1
Created 18th August 2014, last changed 12nd February 2020
Feedback: Report problem or ask question.
MBS Xojo blog