[OpenLayers-Commits] r7465 - sandbox/vector-behavior/lib/OpenLayers/Layer

commits at openlayers.org commits at openlayers.org
Sun Jul 6 16:16:36 EDT 2008


Author: elemoine
Date: 2008-07-06 16:16:36 -0400 (Sun, 06 Jul 2008)
New Revision: 7465

Modified:
   sandbox/vector-behavior/lib/OpenLayers/Layer/Vector.js
Log:
vector layer must activate the strategy


Modified: sandbox/vector-behavior/lib/OpenLayers/Layer/Vector.js
===================================================================
--- sandbox/vector-behavior/lib/OpenLayers/Layer/Vector.js	2008-07-06 20:07:10 UTC (rev 7464)
+++ sandbox/vector-behavior/lib/OpenLayers/Layer/Vector.js	2008-07-06 20:16:36 UTC (rev 7465)
@@ -313,8 +313,9 @@
             this.renderer.setSize(this.map.getSize());
         }
         if(this.strategy) {
-            this.strategy.commit();
-            this.strategy.update();
+            this.strategy.activate(); // TODO remove this
+            this.strategy.commit(); // TODO remove this
+            this.strategy.update(); // TODO remove this
         }
         if(this.strategies) {
             for(var i = 0; i < this.strategies.length; i++) {



More information about the Commits mailing list