Ticket #2078 (closed bug: fixed)
Google Maps centre moves to the SE on changing layers
|Reported by:||CharlesHarrison||Owned by:|
Using IE 6 or 7 and OL 2.7 or /dev/, if you change the page layout under DHTML, all sorts of problems occur, one of the most disastrous being that the map centre may move several kms to the SE and back as layers are switched.
I've also seen something similar with a vector feature being left too far south when an Ordnance Survey map is recentred and zoomed, but if the layer is hidden and reshown using the layer switcher, then the feature reappears in the expected place. (I've feeling that might be a timing issue, trying to draw the features too soon after the map has recentred - I've no idea whether it's caused the same way as the Google problem or not)
I've seen various other bugs that seem to relate to this ...
... as well as this FAQ ...
... all of which suggest the problem has been fixed, but it hasn't. See the following page for a demo of this and other IE specific bugs (this page uses /api/, but I've just satisfied myself again that it also happens under /dev/):