Re: [OpenLayers-Users] OpenLayers.Control.SelectFeature and shift-click in Firefox

2009-11-16 Thread Richard Eichhorn
Hi Pedro, Thanks for the examples, but I was looking for an example where a handler is defined within the selectFeature control. I want the default behavior for a click and shiftClick, I just want to stop the event propagating to the browser. I have a feeling this could be a bug, as I had a

Re: [OpenLayers-Users] OpenLayers.Control.SelectFeature and shift-click in Firefox

2009-11-16 Thread Eric Lemoine
On Thursday, November 12, 2009, Richard Eichhorn r.eichh...@netbi.com.au wrote: I am using OpenLayers.Control.SelectFeature with features which are represented using an externalGraphic.  When I use do a shift-click to multi-select features in Firefox, it opens up a new window with the icon of

Re: [OpenLayers-Users] OpenLayers.Control.SelectFeature and shift-click in Firefox

2009-11-16 Thread Richard Eichhorn
Hi Eric, That did it. You're a genius. Cheers, Richard. 2009/11/17 Eric Lemoine eric.lemo...@camptocamp.com On Thursday, November 12, 2009, Richard Eichhorn r.eichh...@netbi.com.au wrote: I am using OpenLayers.Control.SelectFeature with features which are represented using an

Re: [OpenLayers-Users] OpenLayers.Control.SelectFeature and shift-click in Firefox

2009-11-12 Thread Pedro Baracho
I am not sure if that helps, but there is a function stop on Event class for stopping event propagation. http://dev.openlayers.org/docs/files/OpenLayers/Events-js.html#OpenLayers.Event.stop On Thu, Nov 12, 2009 at 5:47 AM, Richard Eichhorn r.eichh...@netbi.com.auwrote: I am using

Re: [OpenLayers-Users] OpenLayers.Control.SelectFeature and shift-click in Firefox

2009-11-12 Thread Richard Eichhorn
Thanks for that. I did come across that, but I couldn't figure out how to use it in the context of OpenLayers.Control.SelectFeature. There is a handlers property but I can't figure out how to use it. Has anyone got an example of creating an OpenLayers.Control.SelectFeature with a handlers