forgot to make a variable global.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@9779 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2009-11-03 15:28:33 +00:00
parent 7907a81ae5
commit 5fd5085eba

View File

@@ -26,7 +26,7 @@
map.zoomToMaxExtent();
// Interaction; not needed for initial display.
var selectControl = new OpenLayers.Control.SelectFeature(layer);
selectControl = new OpenLayers.Control.SelectFeature(layer);
map.addControl(selectControl);
selectControl.activate();
layer.events.on({