On Aug 7, 2007, at 11:30 AM, Andreas Hocevar wrote: > Hi, > > On 8/7/07, Steven M. Ottens <[EMAIL PROTECTED]> wrote: >> To be able to do what I want I need to adapt: >> - GetFeatureInfo to support right click > > I am not sure about this. Usually it is not a good idea to touch the > right-click event in web applications. And you have still nothing on > the left click, so you could still use this.
The difference betwee a single click and a double click is less obvious then a leftclick and a non-leftclick > > If you look at http://www.openlayers.org/dev/examples/ > getfeatureinfo.html, > you see that the "regular" click is used for GetFeatureInfo. So what > needs to be done is something discussed a long time ago: a control > without a button: The GetFeatureInfo control should always be active, > without showing a button. > But it also responds to a double click; If you double click on the map to zoom, it does do a getfeatureinfo request. This was why I implemented the right mouse button. Alternatively you could wait a few ms to see if it is a double click. But this is something that probably needs to be resolved in OpenLayers ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ mapbuilder-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel
