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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

CoreLocation.description

Returns the location data in a formatted text string.

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

Parameters

none

Result

Returns description.

Description

Returns the location data in a formatted text string.

A string of the form "<<latitude>, <longitude>> +/- <accuracy>m (speed <speed> kph / heading <heading>) @ <date-time>”, where <latitude>, <longitude>, <accuracy>, <speed>, and <heading> are formatted floating point numbers and <date-time> is a formatted date string that includes date, time, and time zone information.
The returned string is intended for display 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 description:

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

See also

Example Databases

This function checks for a license.

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


CoreLocation.course - CoreLocation.desiredAccuracy

💬 Ask a question or report a problem