This repository has been archived by the owner on Nov 8, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 76
Distance function returns 0 between two locations #260
Comments
I have faced this issue as well, i get 0 when i calculate the distance. |
I wasn't getting very accurate distances using this function either. I use this to calculate the distance in KM, then times the result by 1000
|
Do you still need to times the result by 1000 to get it in KM?
|
@alexonozor I don't think so, it should return the result in KM. I think / 1000 to get it in meters. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
When i use two locations taken from google maps to calculate distance it always give me 0, not sure why
here is my code example
i am using nativescript vue
testing on my android device
The text was updated successfully, but these errors were encountered: