[OpenLayers-Commits] r3111 - trunk/openlayers/tests/Layer

commits at openlayers.org commits at openlayers.org
Wed May 2 10:01:16 EDT 2007


Author: euzuro
Date: 2007-05-02 10:01:13 -0400 (Wed, 02 May 2007)
New Revision: 3111

Modified:
   trunk/openlayers/tests/Layer/test_Vector.html
Log:
fix tests -- ie destroys page and thereofre map object, which causes problems with this simulated renderer (it needs a destroy)

Modified: trunk/openlayers/tests/Layer/test_Vector.html
===================================================================
--- trunk/openlayers/tests/Layer/test_Vector.html	2007-05-01 23:14:56 UTC (rev 3110)
+++ trunk/openlayers/tests/Layer/test_Vector.html	2007-05-02 14:01:13 UTC (rev 3111)
@@ -119,7 +119,8 @@
         layer.renderer = {
             eraseFeatures: function(features) {
                 f = features[0];
-            }
+            },
+            destroy: function() { }
         };
 
         layer.eraseFeatures([feature]);



More information about the Commits mailing list