[OpenLayers-Users] Openlayers 2.6 - zoomLevels.html

Linda Rawson linda.rawson at gmail.com
Thu Apr 3 11:39:23 EDT 2008


I found the problem.  Somebody changed this line in PanZoomBar.js

FROM:

var levels = Math.floor((y - top)/this.zoomStopHeight);

TO:

var levels = (y - top)/this.zoomStopHeight;

This is causing the problem.
Linda
On Wed, Apr 2, 2008 at 4:07 PM, Linda Rawson <linda.rawson at gmail.com> wrote:

> Even when I slide the slider to the top rung and click on the bottom rung
> nothing happens.
>
> So I tried adding the following scales:
>
> scales: [50000000, 30000000, 20000000,10000000],
>
> Totally screwy mouse clicks.  When I click L2 it goes to L3.  I have to
> double click some of the bars to get them to zoom.
>
> On Wed, Apr 2, 2008 at 4:01 PM, Christopher Schmidt <
> crschmidt at metacarta.com> wrote:
>
> > On Wed, Apr 02, 2008 at 03:46:30PM -0600, Linda Rawson wrote:
> > > Thanks Christopher.
> > >
> > > On your example when I click on the zoom bar nothing happens.  The
> > slider
> > > works but the click on the zoom bar doesn't.
> >
> > You can never click on the top 'rung' of a zoombar. If that's a problem
> > for you, feel free to open a ticket for 2.7.
> >
> > Regards,
> > --
> > Christopher Schmidt
> > MetaCarta
> >
>
>
>
> --
> Linda Rawson




-- 
Linda Rawson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080403/f5a75c1f/attachment.html


More information about the Users mailing list