Ticket #2078 (closed bug: fixed)
Google Maps centre moves to the SE on changing layers
| Reported by: | CharlesHarrison | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 2.9 Release |
| Component: | general | Version: | 2.8 RC2 |
| Keywords: | Cc: | ||
| State: |
Description
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 ...
http://trac.openlayers.org/ticket/1797 http://trac.openlayers.org/ticket/830
... 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/):
