diff --git a/lib/OpenLayers/Layer/Google.js b/lib/OpenLayers/Layer/Google.js index 9ea219534b..5c72f4d3e3 100644 --- a/lib/OpenLayers/Layer/Google.js +++ b/lib/OpenLayers/Layer/Google.js @@ -95,13 +95,6 @@ OpenLayers.Layer.Google.prototype = Object.extend( new OpenLayers.Layer(), { */ loadGMap:function() { - // create div and set to same size as map - var gDiv = OpenLayers.Util.createDiv(this.name); - var sz = this.map.getSize(); - 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);