Latitude and Longitude Distances Routine
CSGNetwork FREE Source Code, Javascript Source, and Code Snippets!
CSGNetwork Custom Search
Bookmark and Share
 
CSGNetwork
Snippets
Calculators
Home
Back



Right click this window and select "view source" in order to copy the source for this script.



Latitude and Longitude Distances Routine

View the source...

This script determines the distance between two points defined by latitude and longitude, in miles, statute miles or kilometers. This is a very intense subject and due to the curvature of the Earth, there are slight variations closer to the poles. There is no screen display in this. All 5 variables must be passed to the function.



Bookmark and Share
Registered® Trademark™ and CopyrightŠ 1973 - CSG, Computer Support Group, Inc. and CSGNetwork.Com All Rights Reserved