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 <[email protected]> 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 > [email protected] > http://openlayers.org/mailman/listinfo/users > -- Ivan Grcic _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
