i've 3 geo points
(start Position)11.986242477259117, 79.84657287597656`
(middle position)11.984521304799278, 79.84583258628845
(end postion)11.985014568760436, 79.844491481781
I've get knowledge from How to draw a path on a map using kml file?
and i've drawed the line between geo points lik this.
i've calculate the distance using How to calculate distance between two locations using their longitude and latitude value
My question is, when user stands near on "A" (start position), i want to tell the direction, you hav move to "North","East","West","South" like this,.
if user wrongly move other direction, Need to tell like "You hav mov wrong direction" and say correct direction.
How to get the direction between two geo points.?
I've get the degee from Get direction (compass) with two longitude/latitude points
it returns some degree, But i'm unbale to tell the correct direction.
How to get the direction between two geo points.?