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:
@@ -195,6 +195,10 @@ OpenLayers.Layer.Google = OpenLayers.Class(
|
||||
} else {
|
||||
this.dragPanMapObject = null;
|
||||
}
|
||||
|
||||
if(this.isBaseLayer === false) {
|
||||
this.setGMapVisibility(this.div.style.display !== "none");
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user