Ticket #1134: PanZoom.js.diff
| File PanZoom.js.diff, 0.6 kB (added by jachym, 1 year ago) |
|---|
-
lib/OpenLayers/Control/PanZoom.js
old new 175 175 this.map.zoomOut(); 176 176 break; 177 177 case "zoomworld": 178 this.map.zoomToMaxExtent(); 178 if (this.map.restrictedExtent != null) { 179 this.map.zoomToExtent(this.map.restrictedExtent); 180 } 181 else { 182 this.map.zoomToMaxExtent(); 183 } 179 184 break; 180 185 } 181 186
