Topics
All
Mac OS X
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Guides
Examples
New in version:
7.4
7.5
8.0
8.1
8.2
8.3
8.4
8.5
9.0
9.1
Statistic
CoreLocation.course
Returns the direction in which the device is traveling.
Component | Version | macOS | Windows | Server | FileMaker Cloud | FileMaker iOS SDK |
CoreLocation | 2.7 | Yes | No | Yes, macOS only | No | Yes |
MBS( "CoreLocation.course" ) More
Parameters
none
Result
Returns direction number.
Description
Returns the direction in which the device is traveling.Course values are measured in degrees starting at due north and continuing clockwise around the compass. Thus, north is 0 degrees, east is 90 degrees, south is 180 degrees, and so on. Course values may not be available on all devices. A negative value indicates that the direction is 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.
See also
Example Databases
Created 18th August 2014, last changed 18th August 2014
CoreLocation.altitude - CoreLocation.description
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins