Merge pull request #127 from elemoine/tile-fade-in
CSS-based tile animation
This commit is contained in:
@@ -1,3 +1,25 @@
|
||||
# Major enhancements
|
||||
|
||||
## Tile animation
|
||||
|
||||
The displaying of tiles can now be animated, using CSS3 transitions. Transitions operate on the `opacity` property. Here's the CSS rule defined in OpenLayers' default theme:
|
||||
|
||||
.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 can override this rule to use other transition settings. To remove tile animation entirely use:
|
||||
|
||||
.olTileImage {
|
||||
-webkit-transition: none;
|
||||
-moz-transition: none;
|
||||
-o-transition: all 0 none;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
# Behavior Changes from Past Releases
|
||||
|
||||
## Function return values
|
||||
|
||||
Reference in New Issue
Block a user