fixed visibility issue with allOverlays:true. r=pgiraud (closes #2328)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@10079 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2010-02-17 18:12:29 +00:00
parent 876fdebec9
commit 2eb866658a
2 changed files with 27 additions and 10 deletions
+4
View File
@@ -195,6 +195,10 @@ OpenLayers.Layer.Google = OpenLayers.Class(
} else {
this.dragPanMapObject = null;
}
if(this.isBaseLayer === false) {
this.setGMapVisibility(this.div.style.display !== "none");
}
},