Try the HighlightFeature:

var c = new OpenLayers.Control.HighlightFeature({
            layer: _lyr, // your layer object
            displayPopup: false,
            style:{fillColor: "#000000", fillOpacity: 0.25, strokeColor :
"green", strokeWidth : 4 }
});

oMap.addControl(c);

Greetings
Steffen



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Re-Events-in-OpenLayers-Layer-Vector-tp5012501p5013609.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to