Changeset 1305
- Timestamp:
- 08/19/06 00:47:12 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/openlayers/2.0/lib/OpenLayers/Control/LayerSwitcher.js
r1206 r1305 190 190 var input = this.baseLayerInputs[i]; 191 191 if (input.checked) { 192 this.map.setBaseLayer(input.layer, true);192 this.map.setBaseLayer(input.layer, false); 193 193 } 194 194 } branches/openlayers/2.0/lib/OpenLayers/Control/PanZoomBar.js
r1303 r1305 33 33 setMap: function(map) { 34 34 OpenLayers.Control.PanZoom.prototype.setMap.apply(this, arguments); 35 36 35 this.map.events.register("changebaselayer", this, this.redraw); 37 36 }, … … 53 52 // initialize our internal div 54 53 OpenLayers.Control.prototype.draw.apply(this, arguments); 55 px = this.position ;54 px = this.position.clone(); 56 55 57 56 // place the controls
