Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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