how to use direction angle and speed to calculate next time's latitude and longitude
I have know my current position({lat:x,lon:y}) and I know my speed and direction angle; How to predict next position at next time? First, calculate the distance you will travel based on your current speed and your known time interval ("next time"): distance = speed * time Then you can use this formula to calculate your new position (lat2/lon2): lat2 =asin(sin(lat1)*cos(d)+cos(lat1)*sin(d)*cos(tc)) dlon=atan2(sin(tc)*sin(d)*cos(lat1),cos(d)-sin(lat1)*sin(lat2)) lon2=mod( lon1-dlon +pi,2*pi )-pi For an implementation in Javascript, see the function LatLon.prototype.destinationPoint on this page