OpenLayers OpenLayers

Ticket #1036 (closed feature: fixed)

Opened 1 year ago

Last modified 1 year ago

support displayProjection property on controls

Reported by: crschmidt Assigned to:
Priority: minor Milestone: 2.6 Release
Component: Control Version: 2.5 RC3
Keywords: Cc:
State: Complete

Description

Controls should support a displayProjection, and if one is provided, project their inputs/outputs. Affected Controls:

Attachments

projection-displayprojection.patch (10.2 kB) - added by crschmidt on 09/30/07 13:05:51.
support displayProjection -- map, controls
displayProjection.patch (9.2 kB) - added by crschmidt on 12/19/07 17:21:03.

Change History

09/30/07 13:05:51 changed by crschmidt

  • attachment projection-displayprojection.patch added.

support displayProjection -- map, controls

09/30/07 13:06:05 changed by crschmidt

  • keywords set to review.

12/19/07 15:21:47 changed by crschmidt

  • state changed from Review to Needs More Work.

This should be rewritten to use the transform() method on the lonlat where appropriate instead of using Projection.transform.

12/19/07 17:21:03 changed by crschmidt

  • attachment displayProjection.patch added.

12/19/07 17:21:45 changed by crschmidt

  • state changed from Needs More Work to Review.

now, with new 'applies to trunk' powers

12/19/07 17:40:09 changed by tschaub

  • state changed from Review to Commit.

Ran tests in FF. API looks right. Trusting that the permathing does the right thing. Please commit.

12/19/07 18:36:34 changed by crschmidt

  • status changed from new to closed.
  • state changed from Commit to Complete.
  • resolution set to fixed.

(In [5519]) add displayProjection API Property on the Map, and on relevant controls. Spherical mercator example now makes use of this, displaying coordinates in lon/lat instead of meters, and permalink/argparser now work in lon/lat as well. this functionality will make using SphericalMercator easier for a number of applications. r=tschaub (Closes #1036)