diff --git a/lib/OpenLayers/Layer/Google.js b/lib/OpenLayers/Layer/Google.js index 3a4a7af98d..f746905a0a 100644 --- a/lib/OpenLayers/Layer/Google.js +++ b/lib/OpenLayers/Layer/Google.js @@ -64,11 +64,11 @@ OpenLayers.Layer.Google.prototype = Object.extend( new OpenLayers.Layer(), { */ loadGMap:function() { // create div and set to same size as map - var veDiv = OpenLayers.Util.createDiv(this.name); + var gDiv = OpenLayers.Util.createDiv(this.name); var sz = this.map.getSize(); - veDiv.style.width = sz.w; - veDiv.style.height = sz.h; - this.div.appendChild(veDiv); + gDiv.style.width = sz.w; + gDiv.style.height = sz.h; + this.div.appendChild(gDiv); // create GMap, hide nav controls this.gmap = new GMap2(this.div);