Ticket #3219 (new bug)
PanZoomBar tries to zoom outside the valid zoom range
| Reported by: | saturka | Owned by: | crschmidt |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.13 Release |
| Component: | Control.PanZoomBar | Version: | 2.10 |
| Keywords: | Cc: | ||
| State: | Review |
Description
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
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

