Hi,
the maritime GIS community work in yards and nautical miles, so the
following lines could be added to util.js

OpenLayers.INCHES_PER_UNIT["yd"]= 36;           
// 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.

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

Reply via email to