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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user