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);