[OpenLayers-Dev] ticket 2593 in OpenLayers 2.10

Marc Pfister MPfister at enplan.com
Wed Sep 22 13:48:41 EDT 2010


Bart van den Eijnden [bartvde at 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


More information about the Dev mailing list