[OpenLayers-Commits] r3603 - in sandbox/euzuro/untiled3/lib/OpenLayers: . Tile

commits at openlayers.org commits at openlayers.org
Thu Jul 5 18:32:05 EDT 2007


Author: euzuro
Date: 2007-07-05 18:32:04 -0400 (Thu, 05 Jul 2007)
New Revision: 3603

Modified:
   sandbox/euzuro/untiled3/lib/OpenLayers/Tile.js
   sandbox/euzuro/untiled3/lib/OpenLayers/Tile/Image.js
Log:
change 'loadcancel' to 'reload'. makes more sense

Modified: sandbox/euzuro/untiled3/lib/OpenLayers/Tile/Image.js
===================================================================
--- sandbox/euzuro/untiled3/lib/OpenLayers/Tile/Image.js	2007-07-05 22:03:27 UTC (rev 3602)
+++ sandbox/euzuro/untiled3/lib/OpenLayers/Tile/Image.js	2007-07-05 22:32:04 UTC (rev 3603)
@@ -96,7 +96,7 @@
         // not load. This keeps start/finish pairings even.
         //  
         if (this.loading) {
-            this.events.triggerEvent("loadcancel"); 
+            this.events.triggerEvent("reload"); 
         }
 
         if (this.layer != this.layer.map.baseLayer && this.layer.reproject) {

Modified: sandbox/euzuro/untiled3/lib/OpenLayers/Tile.js
===================================================================
--- sandbox/euzuro/untiled3/lib/OpenLayers/Tile.js	2007-07-05 22:03:27 UTC (rev 3602)
+++ sandbox/euzuro/untiled3/lib/OpenLayers/Tile.js	2007-07-05 22:32:04 UTC (rev 3603)
@@ -24,7 +24,7 @@
      * Constant: EVENT_TYPES
      * {Array(String)} Supported application event types
      */
-    EVENT_TYPES: [ "loadstart", "loadend", "loadcancel"],
+    EVENT_TYPES: [ "loadstart", "loadend", "reload"],
     
     /** 
 	 * Property: id 



More information about the Commits mailing list