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.

_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to