Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latitude and Longitude not showing up correctly. #3

Open
Anirud2002 opened this issue May 8, 2022 · 0 comments
Open

Latitude and Longitude not showing up correctly. #3

Anirud2002 opened this issue May 8, 2022 · 0 comments

Comments

@Anirud2002
Copy link

I'm building an iOS app and for some reason , the expo-location doesn't give me correct value for my current-location. I'm using Location.watchPositionAsync() function.
let locationSubscription = await Location.watchPositionAsync({ accuracy: Location.Accuracy.Highest, distanceInterval: 50 //meters }, location => { currentLocation = location.coords console.log(currentLocation) setCurrentLocation(currentLocation) })

I know for sure that I am not getting the correct latitude and longitude value because I compared it with the value of google maps and they are completely different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant