Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CLGeocoder.ErrorMessage

Queries the error message of the geo coder.

Component Version macOS Windows Linux Server iOS SDK
CLGeocoder 4.1 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "CLGeocoder.ErrorMessage"; Geocoder )   More

Parameters

Parameter Description Example
Geocoder The reference number of the geocoder instance. $Geocoder

Result

Returns text or error.

Description

Queries the error message of the geo coder.

Error ConstantNumberDescription
kCLErrorLocationUnknown0 location is currently unknown, but CL will keep trying
kCLErrorDenied1 Access to location or ranging has been denied by the user
kCLErrorNetwork2general, network-related error
kCLErrorHeadingFailure3heading could not be determined
kCLErrorRegionMonitoringDenied4Location region monitoring has been denied by the user
kCLErrorRegionMonitoringFailure5A registered region cannot be monitored
kCLErrorRegionMonitoringSetupDelayed6CL could not immediately initialize region monitoring
kCLErrorRegionMonitoringResponseDelayed7While events for this fence will be delivered, delivery will not occur immediately
kCLErrorGeocodeFoundNoResult8A geocode request yielded no result
kCLErrorGeocodeFoundPartialResult9A geocode request yielded a partial result
kCLErrorGeocodeCanceled10A geocode request was cancelled
kCLErrorDeferredFailed 11Deferred mode failed
kCLErrorDeferredNotUpdatingLocation12Deferred mode failed because location updates disabled or paused
kCLErrorDeferredAccuracyTooLow13Deferred mode not supported for the requested accuracy
kCLErrorDeferredDistanceFiltered14Deferred mode does not support distance filters
kCLErrorDeferredCanceled15Deferred mode request canceled a previous request
kCLErrorRangingUnavailable16Ranging cannot be performed
kCLErrorRangingFailure17General ranging failure
kCLErrorPromptDeclined 18Authorization request not presented to user

Examples

Checks error and shows message:

If [ MBS( "CLGeocoder.Error"; $g )]
    Display Dialog [ "Error"; MBS( "CLGeocoder.ErrorMessage"; $g ) ]
End If

See also

Example Databases

This function is free to use.

Created 18th August 2014, last changed 23th February 2021


CLGeocoder.Error - CLGeocoder.GeocodeAddressString