So, I have a 'target location' which is lat & lon coordinates.
In my app, I am using:
now, the .00062137119 is what google says meters(what's returned by gps) to miles is...
However, I noticed it only shows the WHOLE number...
Example, it only shows: 1mi, 2mi, 3mi, 4mi, etc.
I would LOVE it to show me 1.35, 2.87, etc etc etc. This is very crucial to this feature.
Now, in the second part, Location1.BearingTo, shouldnt that tell me which way to point to get to my location?
In my app, I am using:
B4X:
distance = Location1.DistanceTo(Location) * 0.00062137119
lbl_Distance.Text = "Distance: " & distance & " Mi."
lbl_Bearing.Text = Location1.BearingTo(Location)
now, the .00062137119 is what google says meters(what's returned by gps) to miles is...
However, I noticed it only shows the WHOLE number...
Example, it only shows: 1mi, 2mi, 3mi, 4mi, etc.
I would LOVE it to show me 1.35, 2.87, etc etc etc. This is very crucial to this feature.
Now, in the second part, Location1.BearingTo, shouldnt that tell me which way to point to get to my location?