Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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
- CoreLocation.desiredAccuracy
- CoreLocation.horizontalAccuracy
- CoreLocation.setDesiredAccuracy
- CoreLocation.SetUpdateLocationHandler
Example Databases
Blog Entries
This function is free to use.
Created 18th August 2014, last changed 13th January 2021