Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

CLGeocoderMBS.cancelGeocode
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreLocation MBS MacFrameworks Plugin 12.3 Yes No No Yes, macOS only No
Function: Cancels a pending geocoding request.
Notes:
You can use this method to cancel a pending request and free up the resources associated with that request. Canceling a pending request causes the completion handler event to be called.

If the request is not pending, because it has already returned or has not yet begun, this method does nothing.
Available in OS X v10.8 and later.

Feedback, Comments & Corrections

CLGeocoderMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreLocation MBS MacFrameworks Plugin 12.3 Yes No No Yes, macOS only No
Function: The constructor.

Feedback, Comments & Corrections

CLGeocoderMBS.geocodeAddressDictionary(addressDictionary as Dictionary, completionHandler as CLGeocodeCompletionHandlerMBS, tag as Variant = nil)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreLocation MBS MacFrameworks Plugin 12.3 Yes No No Yes, macOS only No
Function: Submits a forward-geocoding request using the specified address dictionary.
Notes:
addressDictionary: An Address Book dictionary containing information about the address to look up.
completionHandler: A handler object containing the code to execute at the end of the request. This code is called whether the request is successful or unsuccessful.

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.
Available in OS X v10.8 and later.

Feedback, Comments & Corrections

CLGeocoderMBS.geocodeAddressString(addressString as string, completionHandler as CLGeocodeCompletionHandlerMBS, tag as Variant = nil)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreLocation MBS MacFrameworks Plugin 12.3 Yes No No Yes, macOS only No
Function: Submits a forward-geocoding request using the specified string.
Notes:
addressString: 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.
completionHandler: A handler object containing the code to execute at the end of the request. This code is called whether the request is successful or unsuccessful.

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.
Available in OS X v10.8 and later.

See also:

Feedback, Comments & Corrections

CLGeocoderMBS.geocodeAddressString(addressString as string, region as CLRegionMBS, completionHandler as CLGeocodeCompletionHandlerMBS, tag as Variant = nil)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreLocation MBS MacFrameworks Plugin 12.3 Yes No No Yes, macOS only No
Function: Submits a forward-geocoding request using the specified string and region information.
Notes:
addressString: 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.
region: A geographical region to use as a hint when looking up the specified address. Specifying a region lets you prioritize the returned set of results to locations that are close to some specific geographical area, which is typically the user's current location. If nil and the application is authorized for location services, the set of results is prioritized based on the user's approximate location. Invoking this method does not trigger a location services authorization request.
completionHandler: A handler object containing the code to execute at the end of the request. This code is called whether the request is successful or unsuccessful.

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.
Available in OS X v10.8 and later.

See also:

Feedback, Comments & Corrections

CLGeocoderMBS.geocodeAddressString(addressString as string, region as CLRegionMBS, preferredLocale as NSLocaleMBS, completionHandler as CLGeocodeCompletionHandlerMBS, tag as variant = nil)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreLocation MBS MacFrameworks Plugin 17.4 Yes No No Yes, macOS only No
Function: Submits a forward-geocoding request using the specified string and region information.
Notes:
addressString: 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.
region: A geographical region to use as a hint when looking up the specified address. Specifying a region lets you prioritize the returned set of results to locations that are close to some specific geographical area, which is typically the user's current location. If nil and the application is authorized for location services, the set of results is prioritized based on the user's approximate location. Invoking this method does not trigger a location services authorization request.
completionHandler: A handler object containing the code to execute at the end of the request. This code is called whether the request is successful or unsuccessful.

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.

Available in OS X v10.8 and later.
For macOS 10.13 or newer we can optionally pass preferred locale.

See also:

Feedback, Comments & Corrections

CLGeocoderMBS.geocodePostalAddress(postalAddress as Variant, completionHandler as CLGeocodeCompletionHandlerMBS, tag as variant = nil)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreLocation MBS MacFrameworks Plugin 17.4 Yes No No Yes, macOS only No
Function: Queries coordinates for postal address.
Notes:
postalAddress must be a CNPostalAddressMBS.
For macOS 10.13 or newer.

See also:

Feedback, Comments & Corrections

CLGeocoderMBS.geocodePostalAddress(postalAddress as Variant, preferredLocale as NSLocaleMBS, completionHandler as CLGeocodeCompletionHandlerMBS, tag as variant = nil)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreLocation MBS MacFrameworks Plugin 17.4 Yes No No Yes, macOS only No
Function: Queries coordinates for postal address.
Notes:
postalAddress must be a CNPostalAddressMBS.
For macOS 10.13 or newer.

See also:

Feedback, Comments & Corrections

CLGeocoderMBS.isGeocoding as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreLocation MBS MacFrameworks Plugin 12.3 Yes No No Yes, macOS only No
Function: A Boolean value indicating whether the receiver is in the middle of geocoding its value. (read-only)
Notes:
This property contains the value true if the process is ongoing or false if the process is done or has not yet been initiated.
Available in OS X v10.8 and later.

Feedback, Comments & Corrections

CLGeocoderMBS.reverseGeocodeLocation(location as CLLocationMBS, completionHandler as CLGeocodeCompletionHandlerMBS, tag as Variant = nil)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreLocation MBS MacFrameworks Plugin 12.3 Yes No No Yes, macOS only No
Function: Submits a reverse-geocoding request for the specified location.
Notes:
location: The location object containing the coordinate data to look up.
completionHandler: The handler object containing the code to execute at the end of the request. This code is called whether the request is successful or unsuccessful.

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.

Available in OS X v10.8 and later.

See also:

Feedback, Comments & Corrections

CLGeocoderMBS.reverseGeocodeLocation(location as CLLocationMBS, preferredLocale as NSLocaleMBS, completionHandler as CLGeocodeCompletionHandlerMBS, tag as variant = nil)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CoreLocation MBS MacFrameworks Plugin 17.4 Yes No No Yes, macOS only No
Function: Submits a reverse-geocoding request for the specified location.
Notes:
location: The location object containing the coordinate data to look up.
completionHandler: The handler object containing the code to execute at the end of the request. This code is called whether the request is successful or unsuccessful.

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.

Available in OS X v10.8 and later.
For macOS 10.13 or newer we can optionally pass preferred locale.

See also:

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS MacFrameworks Plugin.




Links
MBS Xojo Plugins