OpenLayers OpenLayers

Ticket #1065 (closed feature: fixed)

Opened 1 year ago

Last modified 1 year ago

Add martime units to INCHES_PER_UNIT

Reported by: ianmayo Assigned to:
Priority: trivial Milestone: 2.6 Release
Component: Util Version: 2.5 RC5
Keywords: Cc: ian@planetmayo.com
State:

Description

The maritime community work in yards and nautical miles. Neither of these units are supported in OpenLayers.

Their addition is a simple undertaking, through the extension of the OpenLayers.INCHES_PER_UNIT array to include the new types. A yard is 36 inches, and a nautical mile is 1852m (wikipedia.com).

Provision of these enumerated constants will allow them to be used as units in data files, and in the ScaleLine control being developed in my sandbox (http://dev.openlayers.org/sandbox/ianmayo/openlayers/examples/controls.html)

Attachments

patchfile.patch (0.9 kB) - added by ianmayo on 10/05/07 14:37:24.
patch file

Change History

10/05/07 14:37:24 changed by ianmayo

  • attachment patchfile.patch added.

patch file

10/05/07 15:51:52 changed by crschmidt

  • keywords set to review.

11/01/07 22:20:26 changed by crschmidt

  • keywords deleted.
  • status changed from new to closed.
  • resolution set to fixed.

(In [5101]) add yards and nautical miles to OpenLayers units. (Closes #1065)