Changeset 7555
- Timestamp:
- 07/21/08 10:43:54 (1 month ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/vector-behavior/lib/OpenLayers/Layer.js
r6831 r7555 58 58 * - *loadcancel* Triggered when layer loading is canceled. 59 59 * - *visibilitychanged* Triggered when layer visibility is changed. 60 */ 61 EVENT_TYPES: ["loadstart", "loadend", "loadcancel", "visibilitychanged"], 60 * - *moveend* Triggered when layer is moved, object passed as 61 * argument has a zoomChanged boolean property which tells that the 62 * zoom has changed 63 */ 64 EVENT_TYPES: ["loadstart", "loadend", "loadcancel", "visibilitychanged", 65 "moveend"], 62 66 63 67 /** … … 457 461 } 458 462 this.display(display); 463 this.events.triggerEvent("moveend", {zoomChanged: zoomChanged}); 459 464 }, 460 465 sandbox/vector-behavior/lib/OpenLayers/Strategy/BBOX.js
r7508 r7555 45 45 */ 46 46 activate: function() { 47 this.layer. map.events.on({47 this.layer.events.on({ 48 48 "moveend": this.updateListener, 49 49 scope: this … … 60 60 */ 61 61 deactivate: function() { 62 this.layer. map.events.un({62 this.layer.events.un({ 63 63 "moveend": this.updateListener, 64 64 scope: this sandbox/vector-behavior/lib/OpenLayers/Strategy/Grid.js
r7553 r7555 242 242 }); 243 243 // register event listeners 244 this.layer. map.events.on({244 this.layer.events.on({ 245 245 "moveend": this.refresh, 246 246 scope: this … … 258 258 deactivate: function() { 259 259 // unregister event listeners 260 this.layer. map.events.un({260 this.layer.events.un({ 261 261 "moveend": this.refresh, 262 262 scope: this
