Thought that normal selection wasn't working. Turns out I had a local

modification I'd forgotten about. take hover off to more closely resemble the
boxes-vector example.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@5820 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2008-01-20 16:50:12 +00:00
parent d4ca01a134
commit a0e6dd7c7a

View File

@@ -35,7 +35,7 @@
map.addLayers([ol_wms, boxes]);
map.addControl(new OpenLayers.Control.LayerSwitcher());
var sf = new OpenLayers.Control.SelectFeature(boxes, {'hover': true });
var sf = new OpenLayers.Control.SelectFeature(boxes);
map.addControl(sf);
sf.activate();
map.zoomToMaxExtent();