grid is always loaded. check only if we have a map
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1140 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -118,7 +118,7 @@ OpenLayers.Layer.WMS.prototype =
|
|||||||
var newArguments = [upperParams];
|
var newArguments = [upperParams];
|
||||||
OpenLayers.Layer.Grid.prototype.mergeNewParams.apply(this, newArguments);
|
OpenLayers.Layer.Grid.prototype.mergeNewParams.apply(this, newArguments);
|
||||||
|
|
||||||
if (this.grid != null) {
|
if (this.map != null) {
|
||||||
this._initTiles();
|
this._initTiles();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user