"Google base layer not showing when switching base layers" -- patch by

bartvde, r=me, (Pullup #3475)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@12318 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2011-09-03 15:32:23 +00:00
parent 663392b10e
commit 735c5e2402

View File

@@ -203,7 +203,7 @@ OpenLayers.Layer.Google.v3 = {
*/
setGMapVisibility: function(visible) {
var cache = OpenLayers.Layer.Google.cache[this.map.id];
if (cache && !cache.resized) {
if (cache) {
var type = this.type;
var layers = this.map.layers;
var layer;