[OpenLayers-Users] How to access mouse modifier during
"featureselected"
Ivan Grcic
igrcic at gmail.com
Tue Feb 9 03:01:05 EST 2010
Oh yes, as i see feature handler doesnt have same evt attribs as click
handler does... so you need to catch click handler of feature handler
somehow :|
On Mon, Feb 8, 2010 at 7:46 AM, Max Weidemann <max.weidemann at freenet.de> wrote:
>
> 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.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
--
Ivan Grcic
More information about the Users
mailing list