Hi,<div>I&#39;d like to have the OpenLayers.Control.WMSGetFeatureInfo working on the right mouse click instead of the left mouse click.</div><div>I tried to modify it in the following way (<a href="http://trac.openlayers.org/browser/trunk/openlayers/lib/OpenLayers/Control/WMSGetFeatureInfo.js#L195">http://trac.openlayers.org/browser/trunk/openlayers/lib/OpenLayers/Control/WMSGetFeatureInfo.js#L195</a>)</div>

<div><br></div><div><div>this.handler = new OpenLayers.Handler.Click(this,</div><div>                {<b><font class="Apple-style-span" color="#FF0000">rightclick</font></b>: this.getInfoForClick}, this.handlerOptions.click || {});</div>

<div><br></div><div>But without success. Could you give me a hint in order to support right mouse click with this control ?</div><div><br></div><div>Thanks,</div><div>Cédric</div><div><br></div>-- <br>Geospatial Director Camptocamp SA<br>

Cédric Moullet<br>PSE A<br>CH-1015 Lausanne<br><a href="http://www.camptocamp.com">www.camptocamp.com</a>  / <a href="http://www.mapfish.org">www.mapfish.org</a> / <a href="http://twitter.com/cedricmoullet">twitter.com/cedricmoullet</a> / <a href="http://mapfishblog.blogspot.com/">mapfishblog.blogspot.com/</a><br>

<br>+41 79 759 69 83 (mobile)<br>+41 21 619 10 21 (direct)<br>+41 21 619 10 10 (centrale)<br>+41 21 619 10 00 (fax)<br>
</div>