[OpenLayers-Users] left click handler at OpenLayers.Handler.Drag

Andre Pereira de Matos andre.matos at co.sapo.pt
Wed Jul 1 09:32:30 EDT 2009


Hi List,

I am developping a site using OpenLayers 2.7 (I know, I have to upgrade it to 2.8 :p, but for now I am using 2.7).

So, in the class OpenLayers.Handler.Drag you are using an handler for mousedown events (method: mousedown), and you are returning false if it is a left mousedown, is there any reason to do that? I tried to return true and the behavior apparenty doesn't chang, it still works...


At some point of my application I would like to be notified when a left mousedown occurs, could I return true in that method? Is there a patch to fix that?


Best regads,
André Matos

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090701/f3c3875b/attachment.html


More information about the Users mailing list