Ticket #1171 (closed bug: duplicate)

Opened 5 years ago

Last modified 5 years ago

updateSize with google layers

Reported by: pgiraud Owned by:
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

Changed 5 years ago by pgiraud

  • type changed from feature to bug

Changed 5 years ago by crschmidt

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

Dupe of #830

Note: See TracTickets for help on using tickets.