Changeset 1595
- Timestamp:
- 10/05/06 11:55:47 (2 years ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Map.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Map.js
r1590 r1595 163 163 164 164 if (this.controls == null) { 165 this.controls = [ new OpenLayers.Control.MouseDefaults(), 166 new OpenLayers.Control.PanZoom()]; 165 if (OpenLayers.Control != null) { // running full or lite? 166 this.controls = [ new OpenLayers.Control.MouseDefaults(), 167 new OpenLayers.Control.PanZoom()]; 168 } else { 169 this.controls = []; 170 } 167 171 } 168 172
