[OpenLayers-Users] How to access mouse modifier during "featureselected"

Max Weidemann max.weidemann at freenet.de
Mon Feb 8 01:46:09 EST 2010


Hello Marcel,

Try this code too find out if it is a right click.

if(((evt.which) && (evt.which == 3)) ||
                ((evt.button) && (evt.button == 2))){
//your Code
}

cheers
Max
-- 
View this message in context: http://n2.nabble.com/How-to-access-mouse-modifier-during-featureselected-tp4475175p4532622.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list