allow down/up events

This commit is contained in:
Christopher Schmidt 2008-04-22 11:19:12 +00:00
parent 98be40a312
commit adc823ce1b

View file

@ -131,8 +131,11 @@ page << <<EOJ
map.addLayer(gml);
sf = new OpenLayers.Control.SelectFeature(gml, {'onSelect': onFeatureSelect});
sf.handler.stopDown = false;
sf.handler.stopUp = false;
map.addControl(sf);
sf.activate();
} else {
gml.setUrl(url);
}