[OpenLayers-Trac] [OpenLayers] #3219: PanZoomBar tries to zoom
outside the valid zoom range
OpenLayers
trac-20090302 at openlayers.org
Wed Mar 30 14:03:10 EDT 2011
#3219: PanZoomBar tries to zoom outside the valid zoom range
--------------------------------+-------------------------------------------
Reporter: saturka | Owner: crschmidt
Type: bug | Status: new
Priority: minor | Milestone: 2.11 Release
Component: Control.PanZoomBar | Version: 2.10
Keywords: | State:
--------------------------------+-------------------------------------------
When you tend to drag the bar of the PanZoomBar control too high (north
off the control) or low (south off the widget), the control tends to do
zoom into nonsense values. It is because the "zoomBarUp" method of the
control does not check whether the "zoomLevel" computed value is inside
the valid range of the current map zooms.
Play with any map with the PanZoomBar, like
http://dev.openlayers.org/releases/OpenLayers-2.10/examples/zoomify.html
http://dev.openlayers.org/releases/OpenLayers-2.10/examples/fractional-
zoom.html
Some info at the list:
http://lists.osgeo.org/pipermail/openlayers-dev/2011-March/007318.html
--
Ticket URL: <http://trac.openlayers.org/ticket/3219>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list