[OpenLayers-Dev] Vincenty with 1 Point, Bearing and Distance

vgvallee vgvallee at hotmail.com
Fri Oct 5 16:46:24 EDT 2007


I forgot to mention that I also added a function OpenLayers.Util.deg similar
to the rad function.

/**
 * Function: deg
 *
 * Parameters:
 * x - {Float}
 *
 * Returns:
 * {Float}
 */
OpenLayers.Util.deg = function(x) {return x*180/Math.PI;};

-- 
View this message in context: http://www.nabble.com/Vincenty-with-1-Point%2C-Bearing-and-Distance-tf4577470.html#a13067072
Sent from the OpenLayers Dev mailing list archive at Nabble.com.




More information about the Dev mailing list