Changeset 7973
- Timestamp:
- 09/06/08 14:53:42 (3 months ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Util.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Util.js
r7943 r7973 797 797 /** 798 798 * Function: distVincenty 799 * Given two objects representing points with geographic coordinates, this 800 * calculates the distance between those points on the surface of an 801 * ellipsoid. 799 802 * 800 803 * Parameters: … … 803 806 * 804 807 * Returns: 805 * {Float} 808 * {Float} The distance (in km) between the two input points as measured on an 809 * ellipsoid. Note that the input point objects must be in geographic 810 * coordinates (decimal degrees) and the return distance is in kilometers. 806 811 */ 807 812 OpenLayers.Util.distVincenty=function(p1, p2) {
