Google map api is stuck in one coordinate and wont geolocate

For some reason, no matter what I do, when I try to geolocate on mobile with google maps api it always returns this:

location": {
"lat": 46.4160018,
"lng": -120.0366727

How can I fix this? I am trying to add a feature that relies on finding the users location accurately.

Hi @Salomon_Cohen, welcome to the forum! :wave:

The way to do this in Retool is to use utils.getCurrentPosition() in a JS query. This function will return an object were we have access to the coordinates.

For example:

Then, you can use this data in any "Resource query" by doing {{ }} to access the latitude and {{ }} to access the longitude data.