Getting started with geographical coordinates

Ralph DiMola rdimola at
Fri Apr 3 12:14:30 EDT 2020

mobileLocationAuthorizationStatus() will tell you if the OS app setting will allow location tracking
mobileSensorAvailable("location") will tell you if there is a location sensor
mobileStartTrackingSensor "Location", [true|false] will start the tracking.

mobileSensorReading("location", [true|false]) will return an array of the current location. If the latitude or longitude is zero then the GPS is not yet locked

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at

-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at] On Behalf Of Graham Samuel via use-livecode
Sent: Friday, April 03, 2020 11:18 AM
To: How to use LiveCode
Cc: Graham Samuel
Subject: Getting started with geographical coordinates


I am reviving my LiveCode skills in these troubled times, and I want to do something that involves the location of a device using GPS. A very rapid (obviously too rapid) search of the documentation finds commands like iphoneStartTrackingLocation, but no link to a description of how one reads the actual geographical coordinates or what form they take. There is a reference to CoreLocation, but that hasn’t got a dictionary entry.

Can anyone point me in the right direction. Sorry if it’s obvious.

Thanks in advance

use-livecode mailing list
use-livecode at
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list