Hi all, I have a problem with OpenLayers 2.11 when I change the zoom level, OpenLayers forces base layer to retile current tiles.
I'm talking about moveTo function in Grid.js, where following code exists: // if grid is empty or zoom has changed, we *must* re-tilevar forceReTile = !this.grid.length || zoomChanged; It is some piece of code which was added 9 years ago in version 2.5 and stayed there until now (2.13.1), so I don't think it would be a bug, but I just don't understand why it is needed. I mean, if zoom changed and I'm going to load new tiles, why to request for current tiles in the first place, if I'm going to change them anyway? Under which conditions (if any) would it be safe to change the previous code to: // only if grid is empty, we *must* re-tilevar forceReTile = !this.grid.length; in order to reduce requests in my GIS? If someone could enlight me, it would be very appreciated.
_______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users