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

CoreLocation.horizontalAccuracy

The radius of uncertainty for the location, measured in meters.

Component Version macOS Windows Linux Server iOS SDK
CoreLocation 2.7 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "CoreLocation.horizontalAccuracy" )

Parameters

none

Result

Returns the horizontal accuracy value.

Description

The radius of uncertainty for the location, measured in meters.
The location's latitude and longitude identify the center of the circle, and this value indicates the radius of that circle. A negative value indicates that the location's latitude and longitude are invalid.
This function queries current know location. It's updated from time to time. To receive a script call when new location is available, please use CoreLocation.SetUpdateLocationHandler.

Examples

Query accuracy:

Set Field [ CoreLocation::horizontalAccuracy ; MBS("CoreLocation.horizontalAccuracy") ]
Set Field [ CoreLocation::verticalAccuracy ; MBS("CoreLocation.verticalAccuracy") ]

See also

Example Databases

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 13th January 2021


CoreLocation.headingAvailable - CoreLocation.latitude