Update size of invisible Google layer before making it visible. r=tschaub (closes #2475)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10038 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -239,8 +239,8 @@ OpenLayers.Layer.Google = OpenLayers.Class(
|
||||
* visible - {Boolean} Display the layer (if in range)
|
||||
*/
|
||||
setVisibility: function(visible) {
|
||||
OpenLayers.Layer.EventPane.prototype.setVisibility.apply(this, arguments);
|
||||
this.setGMapVisibility(visible);
|
||||
OpenLayers.Layer.EventPane.prototype.setVisibility.apply(this, arguments);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user