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:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Queries current location report.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WindowsLocation | 10.4 | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |
none
Returns JSON or error.
Latitude | The latitude, in degrees. The latitude is between -90 and 90, where north is positive. |
Longitude | The longitude, in degrees. The longitude is between -180 and 180, where East is positive. |
Altitude | The altitude, in meters. The Altitude property retrieves the altitude relative to the reference ellipsoid that is defined by the latest revision of the World Geodetic System (WGS 84), rather than the altitude relative to sea level. |
ErrorRadius | Combined with the location reported as the origin, this radius describes the circle in which the actual location is probably located. |
AltitudeError | The altitude error, in meters. |
SensorID | The ID of the sensor that generated the location report. Provided as formatted UUID. |
Timestamp | The date and time when the report was generated. Time stamps are provided as Coordinated Universal Time (UTC). |
Query location:
Set Variable [ $location; MBS( "WindowsLocation.Location" ) ]
Example result:
{
"Latitude": 50.3975,
"Longitude": 7.362,
"Altitude": 0,
"ErrorRadius": 7919,
"AltitudeError": 0,
"SensorID": "{00000000-0000-0000-0000-000000000000}",
"Timestamp": "7/30/2020 1:47:15 PM"
}
Created 30th July 2020, last changed 30th July 2020
WindowsLocation.Initialize - WindowsLocation.RequestPermissions
Feedback: Report problem or ask question.