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)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@11667 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Éric Lemoine
2011-03-08 08:15:07 +00:00
parent d023ffc461
commit dfd80545ca

View File

@@ -68,9 +68,10 @@
}
});
map.addControl(split);
split.activate();
map.zoomToMaxExtent();
split.activate();
}
function flashFeatures(features, index) {