openlayers/openlayers — pull request #87 by ahocevar (2011-12-02 23:20:24+00:00)
Title: getTilesBounds fixes and no unnecessary retiling

When the map extent crosses the dateline, Layer.Grid::getTilesBounds returns invalid bounds, and the unnecessary check for drastic panning causes the layer to be retiled on every drag.

This pull request does some cleanup in the grid layer, removes unused code and adds a test to make sure that getTilesBounds returns valid bounds when the grid crosses the dateline.