OpenLayers OpenLayers

Ticket #1171 (closed bug: duplicate)

Opened 1 year ago

Last modified 1 year ago

updateSize with google layers

Reported by: pgiraud Assigned to:
Priority: minor Milestone: Future
Component: general Version: 2.5
Keywords: Cc:
State:

Description

I found that if you resize the map and switch to another google layer, it is not correctly positionned. I got a eye on it, and I can't figure out why.

To reproduce the bug, you can try the following code in your console in the spherical-mercator.html example :

map.div.style.width = 500; map.updateSize();

Then switch the baseLayer to the satellite.

I also tried with an older version of OpenLayers (revision 4950) and it behaves exactly the same.

note: I agree that this ticket needs a more explicit summary and description.

Change History

11/22/07 11:27:52 changed by pgiraud

  • type changed from feature to bug.

11/22/07 11:44:21 changed by crschmidt

  • status changed from new to closed.
  • resolution set to duplicate.

Dupe of #830