Paul,
This is a great suggestion. I’m trying simulate the iOS geolocation while I
develop on macOS. Yours is a great idea.
I have gotten the JavaScript to auto load the lat long when I hit the html page
with the JavaScript on my Mac as a file using Safari.
And I’ve gotten the browser widget
I’m no Javascript expert, so I can’t answer the question about the error, but
my best guess is that code needs to be run within a browser.
However, considering that you need to be connected to the internet to access
your geolocation on desktop, if you sign up for a free API with
How do I get latitude & longitude within a macOS LiveCode script?
———
I know iOS has a way to tell you latitude & longitude. It appears that
capability is not available on macOS.
I know that macOS browsers, with WiFi on and connected, can determine lat/long
with a javascript command. At