[OpenLayers-Dev] Adding nautical miles and yards to units
ian at planetmayo.com
Fri Oct 5 10:32:06 EDT 2007
the maritime GIS community work in yards and nautical miles, so the
following lines could be added to util.js
// a yard is 36 inches
OpenLayers.INCHES_PER_UNIT["nmi"]= 1852 * OpenLayers.INCHES_PER_UNIT["m"];
// a nautical mile is 1852 yards (http://en.wikipedia.org/wiki/Nautical_mile)
How do the community feel about adding maritime units to OpenLayers?
I appreciate developers can insert the above lines directly into the
custom applications, but suspect a better home is in the trunk.
More information about the Dev