GPS PROJECT

This project needs to be able to tell me the time it will take to get from one latitude and longitude to another for example (26.2146 N, 98.1415 W) to (26.1911 N, 98.2060 W) the functions name it should have are Time, Position, and what i mean by position i mean just call it Position A, Position B, etc. and a compass that tells you in what direction you will have to go from Position A to Position B