From dfd80545ca3ca0059b6111ee20c24958fa730f0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Tue, 8 Mar 2011 08:15:07 +0000 Subject: [PATCH] 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 --- examples/split-feature.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/split-feature.html b/examples/split-feature.html index 776e758ab7..37573a0e8e 100644 --- a/examples/split-feature.html +++ b/examples/split-feature.html @@ -68,9 +68,10 @@ } }); map.addControl(split); - split.activate(); + map.zoomToMaxExtent(); + split.activate(); } function flashFeatures(features, index) {