From c1fefd942d58c222655dee5598f7f3041e0dc161 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Mon, 3 Nov 2008 23:03:15 +0000 Subject: [PATCH] use correct layer. git-svn-id: http://svn.openlayers.org/trunk/openlayers@8253 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/sundials-spherical-mercator.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/sundials-spherical-mercator.html b/examples/sundials-spherical-mercator.html index e6850f51be..bbc5ed1ed0 100644 --- a/examples/sundials-spherical-mercator.html +++ b/examples/sundials-spherical-mercator.html @@ -52,7 +52,7 @@ extractAttributes: true } })); - selectControl = new OpenLayers.Control.SelectFeature(map.layers[1], + selectControl = new OpenLayers.Control.SelectFeature(map.layers[2], {onSelect: onFeatureSelect, onUnselect: onFeatureUnselect}); map.addControl(selectControl);