Using device location to update map

Is it possible to update the map in Appfarm using device location?

I have previously briefly looked into using google maps API to something like this. This seems like a bit of a hassle with location permissions, privacy etc.

In other words, what is the current best way to solve the case:
As a user I want to tell the app where I am now.

You can probably use the HTML Geolocation API, and use a timer to update the location each second.

1 Like

Also you can check out Geolocation.watchPosition() here:

This one needs to be enabled by run code or coded component

1 Like

Thank you :slight_smile: cant mark both as solutions :confused:

1 Like