Sometimes you cannot zoom in on a map until you zoom out first.
In situations where this bug exists, using the wheel mouse to zoom also does not work.
This bug occurs when the default base layer is at the top of the layer list (also where there is only one baselayer)
Line 131, opelayers.js - if we removed reference to the zoom level, this bug does not occur. So somehow by setting the zoom level programatically, we are creating this bug.
This is a bug in openlayers. I opened a ticket at: http://trac.openlayers.org/ticket/2180
We can get around it by converting to integer before invoking setCenter.
Automatically closed -- issue fixed for 2 weeks with no activity.
Comments
Comment #1
phayes commentedIn situations where this bug exists, using the wheel mouse to zoom also does not work.
Comment #2
phayes commentedThis bug occurs when the default base layer is at the top of the layer list (also where there is only one baselayer)
Comment #3
phayes commentedLine 131, opelayers.js - if we removed reference to the zoom level, this bug does not occur. So somehow by setting the zoom level programatically, we are creating this bug.
Comment #4
phayes commentedThis is a bug in openlayers. I opened a ticket at: http://trac.openlayers.org/ticket/2180
We can get around it by converting to integer before invoking setCenter.