8
$\begingroup$

Neither FindGeoLocation[] nor Here really work when deploying to the cloud for a mobile or browser app.

CloudDeploy[
 APIFunction[{}, {FindGeoLocation[], Here} &], "Where_am_I?"]

Instead of using the device or browser location, these functions use the Wolfram Cloud servers' GeoIP and $GeoLocation, respectively. Is there a way to get the browser or device GPS location?

Ideally, $GeoLocation would sync with device GPS so that deployments could still use Here and support Dynamic[Here], maybe?...

I'm aware of this good post: Capturing Data from an Android Phone -- so I could have the application retrieve the GPS field from Data Drop, but that seems like an ugly hack.

Has anyone dealt with this or found a solution? Thanks!

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.