Determine the Mac's location via macOS Location Services.
Location data is obtained through WiFi network scanning and, where available, GPS
hardware. User permission is required — call hs.permissions.requestLocation()
before using any tracking features.
The module exposes a geocoder sub-object for forward/reverse geocoding without
requiring Location Services.
locationTable
A locationTable is a plain JS object with the following keys:
Determine the Mac's location via macOS Location Services.
Location data is obtained through WiFi network scanning and, where available, GPS hardware. User permission is required — call
hs.permissions.requestLocation()before using any tracking features.The module exposes a
geocodersub-object for forward/reverse geocoding without requiring Location Services.locationTable
A
locationTableis a plain JS object with the following keys:latitudelongitudealtitude0if unknown)horizontalAccuracy-1if invalid)verticalAccuracy-1if invalid)course-1if invalid)speed-1if invalid)timestamp