OpenLayers OpenLayers

Ticket #1620 (closed task: fixed)

Opened 2 years ago

Last modified 2 years ago

overviewmap does not support "reprojection"

Reported by: bartvde Assigned to: ahocevar
Priority: critical Milestone: 2.7 Release
Component: Control.OverviewMap Version: 2.6
Keywords: Cc:
State: Complete

Description

The overview map control currently can't deal with the situation where the map's projection is different from the overviewmap's projection.

With use of proj4js this should be possible however.

I'll see if I can come up with a patch. This ticket is to track the progress.

Attachments

ticket1620.patch (3.9 kB) - added by bartvde on 07/15/08 06:50:21.
ticket1620.2.patch (3.5 kB) - added by bartvde on 07/18/08 13:58:01.
updated patch using getProjectionObject()

Change History

07/15/08 06:50:21 changed by bartvde

  • attachment ticket1620.patch added.

07/15/08 06:50:38 changed by bartvde

  • state set to Review.
  • milestone set to 2.7 Release.

07/18/08 13:46:12 changed by crschmidt

Instead of using new Projection(getProjection()) everywhere, just use getProjectionObject() ? I think that's the better way to do it.

07/18/08 13:58:01 changed by bartvde

  • attachment ticket1620.2.patch added.

updated patch using getProjectionObject()

07/28/08 14:08:51 changed by euzuro

  • owner changed from tschaub to ahocevar.

07/28/08 14:18:09 changed by euzuro

  • priority changed from minor to critical.

08/26/08 09:54:48 changed by ahocevar

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

(In [7864]) Added support for different projections for main map and overview map. Patch by bartvde. Modifications to the original patch:

  • caclulation of resolution factor no longer depends on proj4js,
  • created a member variable for the resolution factor and moved the calculation of the resolution factor to createMap(),
  • created acceptance test (tests/manual/overviewmap-projection.html).

r=me (closes #1620)