Ticket #452: layer.patch
| File layer.patch, 0.9 kB (added by bartvde, 2 years ago) |
|---|
-
Layer.js
old new 18 18 /** @type DOMElement */ 19 19 div: null, 20 20 21 /** supported application event types 22 * 23 * @type Array */ 24 EVENT_TYPES: [ 25 "loadstart", "loadend", "loadcancel"], 26 27 /** @type OpenLayers.Events */ 28 events: null, 29 21 30 /** This variable is set when the layer is added to the map, via the 22 31 * accessor function setMap() 23 32 * … … 121 130 this.div.style.height = "100%"; 122 131 this.div.id = this.id; 123 132 } 133 134 this.events = new OpenLayers.Events(this, this.div, this.EVENT_TYPES); 124 135 }, 125 136 126 137 /** … … 135 146 this.name = null; 136 147 this.div = null; 137 148 this.options = null; 149 this.events = null; 138 150 }, 139 151 140 152 /**
