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:
@@ -1120,7 +1120,7 @@ OpenLayers.Map = OpenLayers.Class({
|
|||||||
// draw themselves.
|
// draw themselves.
|
||||||
this.viewRequestID++;
|
this.viewRequestID++;
|
||||||
if(!this.allOverlays) {
|
if(!this.allOverlays) {
|
||||||
this.baseLayer.visibility = true;
|
this.baseLayer.setVisibility(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
//redraw all layers
|
//redraw all layers
|
||||||
|
|||||||
Reference in New Issue
Block a user