[OpenLayers-Users] right-click support ?

Christopher Schmidt crschmidt at metacarta.com
Wed Mar 19 13:09:27 EDT 2008


On Wed, Mar 19, 2008 at 05:35:48PM +0100, "R. Müller" wrote:
> Christopher Schmidt schrieb:
> > 
> > Every other map that I'm aware of messes with the user's settings by
> > making it such that right click does nothing. With that in mind, if an
> > application wants to do something with the right click button, that's
> > their business.
> > 
> > Regards,
> 
> imho this not a question of what other map-application do, but a
> question of general look&feel of a (web-)application. have a look at
> google-maps or google-docs, they make extensive use of right-click
> context menus.

Er, you thought this paragraph was responding to you, when in fact it
was responding to someone who was disagreeing with you :) 

> i'm not calling for detailed features for right-click events, but for
> principal support. at the moment, you can register event-listeners for
> mouse clicks e.g. this way :
> 
> 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.)

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list