Hi,
You can access the mouse modifier through <i>window.event</i> object.
Example:
myLayer.events.on({
//...
"featureselected": function(evt) {
if (window.event.shiftKey)
alert("shift pressed");
if (window.event.altKey)
alert("alt pressed");
if (window.event.ctrlKey)
alert("ctrl pressed");
},
//...
});
Good luck,
Florenta Poasca
        <div class="signature weak-color"><br/>Florenta Poasca</div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/How-to-access-mouse-modifier-during-featureselected-tp4475175p7172654.html">Re: How to access mouse modifier        during        "featureselected"</a><br/>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Users-f1822463.html">OpenLayers Users mailing list archive</a> at Nabble.com.<br/>