class name olLayerGridTile renamed olLayerGrid
This commit is contained in:
@@ -211,14 +211,14 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
|
||||
* {String} Name of the class added to the layer div. If not set in the
|
||||
* options passed to the constructor then className defaults to
|
||||
* "olLayerGridSingleTile" for single tile layers (see <singleTile>),
|
||||
* and "olLayerGridTile" for non single tile layers.
|
||||
* and "olLayerGrid" for non single tile layers.
|
||||
*
|
||||
* Note:
|
||||
*
|
||||
* The displaying of tiles is not animated by default for single tile
|
||||
* layers - OpenLayers' default theme (style.css) includes this:
|
||||
* (code)
|
||||
* .olLayerGridTile .olTileImage {
|
||||
* .olLayerGrid .olTileImage {
|
||||
* -webkit-transition: opacity 0.2s linear;
|
||||
* -moz-transition: opacity 0.2s linear;
|
||||
* -o-transition: opacity 0.2s linear;
|
||||
@@ -291,7 +291,7 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
|
||||
|
||||
if (this.className === null) {
|
||||
this.className = this.singleTile ? 'olLayerGridSingleTile' :
|
||||
'olLayerGridTile';
|
||||
'olLayerGrid';
|
||||
}
|
||||
|
||||
if (!OpenLayers.Animation.isNative) {
|
||||
|
||||
Reference in New Issue
Block a user