[OpenLayers-Users] Events in OpenLayers.Layer.Vector

neffets martsystems at gmx.net
Fri Nov 2 09:45:40 PDT 2012


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.


More information about the Users mailing list