[OpenLayers-Commits] r11667 - trunk/openlayers/examples

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Tue Mar 8 03:15:11 EST 2011


Author: erilem
Date: 2011-03-08 00:15:07 -0800 (Tue, 08 Mar 2011)
New Revision: 11667

Modified:
   trunk/openlayers/examples/split-feature.html
Log:
since [11381] (pan while drawing) the map must have a center when a drawing handler is activated, fixing the example until a better solution is found (closes #3159)

Modified: trunk/openlayers/examples/split-feature.html
===================================================================
--- trunk/openlayers/examples/split-feature.html	2011-03-08 07:43:32 UTC (rev 11666)
+++ trunk/openlayers/examples/split-feature.html	2011-03-08 08:15:07 UTC (rev 11667)
@@ -68,9 +68,10 @@
                     }
                 });
                 map.addControl(split);
-                split.activate();
+
                 map.zoomToMaxExtent();
 
+                split.activate();
             }
             
             function flashFeatures(features, index) {



More information about the Commits mailing list