Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CoreLocation.speed
The instantaneous speed of the device in meters per second.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CoreLocation | 2.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "CoreLocation.speed" )
Parameters
none
Result
Returns speed value.
Description
The instantaneous speed of the device in meters per second.This value reflects the instantaneous speed of the device in the direction of its current heading. A negative value indicates an invalid speed. Because the actual speed can change many times between the delivery of subsequent location events, you should use this property for informational purposes only.
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 speed:
Set Field [ CoreLocation::speed ; MBS("CoreLocation.speed") ]
See also
Example Databases
FileMaker Magazin
This function checks for a license.
Created 18th August 2014, last changed 13th January 2021
CoreLocation.significantLocationChangeMonitoringAvailable - CoreLocation.startMonitoringSignificantLocationChanges