Hi, I'd like to have the OpenLayers.Control.WMSGetFeatureInfo working on the right mouse click instead of the left mouse click. I tried to modify it in the following way ( http://trac.openlayers.org/browser/trunk/openlayers/lib/OpenLayers/Control/WMSGetFeatureInfo.js#L195 )
this.handler = new OpenLayers.Handler.Click(this, {*rightclick*: this.getInfoForClick}, this.handlerOptions.click || {}); But without success. Could you give me a hint in order to support right mouse click with this control ? Thanks, Cédric -- Geospatial Director Camptocamp SA Cédric Moullet PSE A CH-1015 Lausanne www.camptocamp.com / www.mapfish.org / twitter.com/cedricmoullet / mapfishblog.blogspot.com/ +41 79 759 69 83 (mobile) +41 21 619 10 21 (direct) +41 21 619 10 10 (centrale) +41 21 619 10 00 (fax)
_______________________________________________ Dev mailing list Dev@openlayers.org http://openlayers.org/mailman/listinfo/dev