Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

CoreLocation.verticalAccuracy

Returns the accuracy of the altitude value in meters.

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

Parameters

none

Result

Returns the vertical accuracy value.

Description

Returns the accuracy of the altitude value in meters.

The value in the altitude property could be plus or minus the value indicated by this property. A negative value indicates that the altitude value is invalid.

Determining the vertical accuracy requires a device with GPS capabilities.
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

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


CoreLocation.timestamp - CoreML.Add2DArrayParameter

Feedback: Report problem or ask question.