[Commits] r1732 - sandbox/euzuro/imageLayer/lib/OpenLayers/Layer

commits at openlayers.org commits at openlayers.org
Tue Oct 24 21:54:42 EDT 2006


Author: euzuro
Date: 2006-10-24 21:54:42 -0400 (Tue, 24 Oct 2006)
New Revision: 1732

Modified:
   sandbox/euzuro/imageLayer/lib/OpenLayers/Layer/Image.js
Log:
dont need to move, just re-draw -- draw()

Modified: sandbox/euzuro/imageLayer/lib/OpenLayers/Layer/Image.js
===================================================================
--- sandbox/euzuro/imageLayer/lib/OpenLayers/Layer/Image.js	2006-10-25 01:52:37 UTC (rev 1731)
+++ sandbox/euzuro/imageLayer/lib/OpenLayers/Layer/Image.js	2006-10-25 01:54:42 UTC (rev 1732)
@@ -162,7 +162,7 @@
      */
     setUrl: function(newUrl) {
         this.url = newUrl;
-        this.moveTo();
+        this.draw();
     },
 
     /** The url we return is always the same (the image itself never changes)



More information about the Commits mailing list