use setVisibility instead of directly setting the visibility property, p=sbenthall (closes #2111)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@9845 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
bartvde
2009-11-27 13:31:25 +00:00
parent 5018aaa4ba
commit 0038def935

View File

@@ -1120,7 +1120,7 @@ OpenLayers.Map = OpenLayers.Class({
// draw themselves.
this.viewRequestID++;
if(!this.allOverlays) {
this.baseLayer.visibility = true;
this.baseLayer.setVisibility(true);
}
//redraw all layers