<div dir="ltr"><div><div>I'm using OpenLayers 2.13 and the DrawFeature control. By Default, the Polygon is completed, when you double click.<br>Some of our clients are requesting that we allow the mouse right-click, to finish the polygon.<br>
I tried adding a rightclick function to the OpenLayers.Handler.Polygon class, but it is never called.<br>I also confirmed that the right click event is being registered in the activate method of the OpenLayers.Handler class.<br>
<br>How do I override this default behavior to allow the mouse right-click to finish the polygon? <br><br></div>Regards,<br></div>Devdatta<br></div>