OpenLayers OpenLayers

Changeset 7973

Show
Ignore:
Timestamp:
09/06/08 13:53:42 (2 years ago)
Author:
tschaub
Message:

Comment only. A bit of documentation for distVincenty.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Util.js

    r7943 r7973  
    797797/** 
    798798 * 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. 
    799802 *  
    800803 * Parameters: 
     
    803806 *  
    804807 * 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. 
    806811 */ 
    807812OpenLayers.Util.distVincenty=function(p1, p2) {