Funny that someone answers to this email today. I just found out one hour ago that this bug has been reported here some days ago : https://github.com/openlayers/openlayers/issues/798 and has been fixed on master branch : buttonclick.js : https://github.com/finn-no/openlayers/commit/97c793281f4dbb6610faf996197c621a4e9148ab
See also Util.js in https://github.com/openlayers/openlayers/commit/a2a391d3b54990b7722de460aa9343225367fc2a#commitcomment-2525834since the commit above depends on it. Regards, Barbara PHILIPPOT 2013/2/21 johnvb <john.vanbr...@biodiverseit.co.uk> > I can confirm this. Using XHTML Transitional on FireFox, if the page is > scrolled down then clicks on the PanZoomBar are offset by the amount the > page is scrolled down. In most cases, this means that the map will ping to > the maximum zoom when you click anywhere on the zoom bar. > > The patch works for me. > > > > -- > View this message in context: > http://osgeo-org.1560.n6.nabble.com/Bug-in-PanZoomBar-Control-Viewport-Element-tp5000113p5035770.html > Sent from the OpenLayers Dev mailing list archive at Nabble.com. > _______________________________________________ > Dev mailing list > d...@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/openlayers-dev >
_______________________________________________ Dev mailing list d...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-dev