Yes this is easy to calculate degree from my current location "meloc" to given point rvloc and for example if the result is 0 degree this means that
the direction of the given point is north relative to my location .
Problem is that this calculation isn't enough to decide if i am heading north , I may be heading 30 degree N-V . I must calculate the diference of degree from my curent direction and the direction to the given point !
I guess the question would be how to calculate the current bearing ...or where I am heading to ? May be someting is missing ...hope to find out what !
Thank you !
Sub Location_LocationChanged (Longitude As Double, Latitude As Double, Altitude As Double, Accuracy As Float, Bearing As Float, Provider As String, Speed As Float, Time As Long)
End Sub
I do not understand what is the meaning of bering in the locationchanged event when bearing is always 0 in my tests...somewere is somethin wrong
I think valid bearing is received by the location event when you request gps listennig without parameters
lm.requestgpslistening(0,0) no time delay ,no distance offset ...but i must do some tests
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.