openlayers/openlayers — pull request #179 by ahocevar (2012-01-26 00:27:37+00:00)
Title: A tile queue that can be aborted.

This saves us a significant amount of server requests when changing zoom levels often, and because we use OpenLayers.Animation, setting img.src on a tile should not freeze iOS any more during panning, so we can hopefully get rid of scheduleMoveGriddedTiles.

While at it, I also removed the spiralTileLoad function. While definitely a masterpiece of coding art, I replaced it with the less elegant but more efficient approach of sorting tiles by distance from the viewport center.

There are no tests yet for the tile queue, and I haven't tested on a real IPad, so I don't know if it really improves performance as compared to scheduleMoveGriddedTiles.