Changeset 3630
- Timestamp:
- 07/06/07 16:28:48 (1 year ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Map.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Map.js
r3582 r3630 268 268 this.id = OpenLayers.Util.createUniqueID("OpenLayers.Map_"); 269 269 270 271 this.div = div = OpenLayers.Util.getElement(div); 270 this.div = OpenLayers.Util.getElement(div); 272 271 273 272 // the viewPortDiv is the outermost div we modify 274 var id = div.id + "_OpenLayers_ViewPort";273 var id = this.div.id + "_OpenLayers_ViewPort"; 275 274 this.viewPortDiv = OpenLayers.Util.createDiv(id, null, null, null, 276 275 "relative", null, … … 282 281 283 282 // the layerContainerDiv is the one that holds all the layers 284 id = div.id + "_OpenLayers_Container";283 id = this.div.id + "_OpenLayers_Container"; 285 284 this.layerContainerDiv = OpenLayers.Util.createDiv(id); 286 285 this.layerContainerDiv.style.zIndex=this.Z_INDEX_BASE['Popup']-1; … … 289 288 290 289 this.events = new OpenLayers.Events(this, 291 div,290 this.div, 292 291 this.EVENT_TYPES, 293 292 this.fallThrough);
