Bart van den Eijnden [bart...@osgis.nl] with the help of Marco Nijdam wrote:

> Shouldn't ratio be always compared to 1? If not 1, we zoom, if 1 we pan.

Yes, I agree. It definitely should be compared to 1, not the previous zoom. Can 
you add a patch like

        535             if (ratio != 1) {

To your ticket #2848, instead of your current patch that resets the 
this.lastRatio? 

I don't see the value of storing the lastRatio anyway - perhaps we should 
remove it altogether?


- Marc
_______________________________________________
Dev mailing list
d...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to