Ticket #2998 (closed feature: fixed)
delay (time consuming) grid tiles move
|Reported by:||pgiraud||Owned by:||elemoine|
After a bit of profiling, we easily noticed that a large amount of time is spent in the Tile.Image::positionImage method. This method is actually called each time a tile is moved to be positioned somewhere else in the grid, ie. each Layer.Grid::moveGriddedTiles is called.
Some quick tests showed that delaying the tiles move until the map stops moving is really improving the user experience.
With the attached patch, tests continue to pass on FF3 and Chrome 9. New unit tests and a new example may need to be written.