Updating comments in example.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@7974 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2008-09-06 19:03:45 +00:00
parent d0ffc2b022
commit 846a48245f

View File

@@ -96,11 +96,10 @@
function calcVincenty(geometry) {
/**
* Note: this function assumes geographic coordinates and
* will fail otherwise. Though not documented anywhere,
* OpenLayers.Util.distVincenty takes two objects representing
* points with geographic coordinates and returns the geodesic
* distance between them (shortest distance between the two
* points on a sphere) in *kilometers*.
* will fail otherwise. OpenLayers.Util.distVincenty takes
* two objects representing points with geographic coordinates
* and returns the geodesic distance between them (shortest
* distance between the two points on an ellipsoid) in *kilometers*.
*
* It is important to realize that the segments drawn on the map
* are *not* geodesics (or "great circle" segments). This means