openlayers/openlayers — pull request #127 by elemoine (2011-12-31 13:26:20+00:00)
Title: CSS-based tile animation

This pull request suggests adding CSS-based animations when displaying tiles. To enable tile animations the ```tileAnimation``` property should be set to true in the map instance (default is true). Some CSS rule defining transitions on the ```opacity``` property should also be present. This pull request adds the following rule to the default theme's style.css file:

```
.olMapTileAnim .olTileImage {
-webkit-transition: opacity 0.2s linear;
-moz-transition: opacity 0.2s linear;
-o-transition: opacity 0.2s linear;
transition: opacity 0.2s linear;
}
```

People not relying on OpenLayers' default theme will need to add some CSS rule of this sort, or they'll need to disable tile animations by setting ```tileAnimation``` to false in the map options. (I'll document this in the 2.12 release notes if my commits are merged into master.)

All tests pass in FF8, Chromium 15, and IE8.

One thing I'm not sure is how tile animations look like in Android. Any test would be much appreciated.