[OpenLayers-Users] right-click support ?
Attila Csipa
plists at prometheus.org.yu
Thu Mar 20 06:16:04 EDT 2008
On Wednesday 19 March 2008 18:09:27 Christopher Schmidt wrote:
> > map.events.register('click', map, function (e) { ... })
> >
> > but this only listens to left-clicks :-(.
>
> What makes you say this? I don't believe it to be true. (I can't
> confirm, because I don't have a mouse with a right click.)
Just a thought - right click events can be stopped by some constellation of
controls just as left clicks had been before your patch to the feature
handler code (remember stopHandledClick ?). IE/FF differences can also make
right-click handling just a little bit trickier than left-click.
More information about the Users
mailing list