Ticket #1147: map.patch
| File map.patch, 0.6 kB (added by cph, 10 months ago) |
|---|
-
Map.js
old new 384 384 OpenLayers.Event.stopObserving(window, 'unload', this.unloadDestroy); 385 385 this.unloadDestroy = null; 386 386 387 if (this.controls != null) { 388 for (var i = this.controls.length - 1; i>=0; --i) { 389 this.controls[i].deactivate(); 390 } 391 } 387 392 if (this.layers != null) { 388 393 for (var i = this.layers.length - 1; i>=0; --i) { 389 394 //pass 'false' to destroy so that map wont try to set a new
