Re: [OpenLayers-Users] handle right mouse click

2010-03-11 Thread mario1...@libero.it
Hi, I've notice that the right mouse click remove the first line drown (not the last one) durning the polygon drawing. Instead the route drawing works fine. Is it possible to do the same thing with polygons? Regards, Mario > > I have achieved this by changing the mousedown handler in Handle

Re: [OpenLayers-Users] handle right mouse click

2010-02-23 Thread PhilM
I have achieved this by changing the mousedown handler in Handler\Path.js mousedown: function(evt) { //PhilMaloney - Cancel drawing with right-click var rightclick; if (evt.which) rightclick = (evt.which == 3); else if (evt.button) rightclick = (evt.button ==

[OpenLayers-Users] handle right mouse click

2010-02-22 Thread mario1...@libero.it
Hi, I'm working on drawFeature.js and Path.js for drawing feature such as lines and polygons. How can I handle right mouse click during the feature drawing? My goal is to find a way to undo the current feature by right mouse clicking. Thank you for your help. Regards, Mario ___

[OpenLayers-Users] handle right mouse click

2010-02-22 Thread mario1...@libero.it
Hi, I'm working on drawFeature.js and Path.js for drawing feature such as lines and polygons. How can I handle right mouse click during the feature drawing? My goal is to find a way to undo the current feature by right mouse clicking. Thank you for your help. Regards, Mario ___

[OpenLayers-Users] handle right mouse click

2010-02-22 Thread mario1...@libero.it
Hi, I'm working on drawFeature.js and Path.js for drawing feature such as lines and polygons. How can I handle right mouse click during the feature drawing? My goal is to find a way to undo the current feature by right mouse clicking. Thank you for your help. Regards, Mario ___

[OpenLayers-Users] handle right mouse click

2010-02-22 Thread mario1...@libero.it
Hi, I'm working on drawFeature.js and Path.js for drawing feature such as lines and polygons. How can I handle right mouse click during the feature drawing? My goal is to find a way to undo the current feature by right mouse clicking. Thank you for your help. Regards, Mario ___

[OpenLayers-Users] handle right mouse click

2010-02-22 Thread mario1...@libero.it
Hi, I'm working on drawFeature.js and Path.js for drawing feature such as lines and polygons. How can I handle right mouse click during the feature drawing? My goal is to find a way to undo the current feature by right mouse clicking. Thank you for your help. Regards, Mario ___

[OpenLayers-Users] handle right mouse click

2010-02-22 Thread mario1...@libero.it
Hi, I'm working on drawFeature.js and Path.js for drawing feature such as lines and polygons. How can I handle right mouse click during the feature drawing? My goal is to find a way to undo the current feature by right mouse clicking. Thank you for your help. Regards, Mario ___

[OpenLayers-Users] handle right mouse click

2010-02-22 Thread mario1...@libero.it
Hi, I'm working on drawFeature.js and Path.js for drawing feature such as lines and polygons. How can I handle right mouse click during the feature drawing? My goal is to find a way to undo the current feature by right mouse clicking. Thank you for your help. Regards, Mario ___

[OpenLayers-Users] handle right mouse click

2010-02-22 Thread mario1...@libero.it
Hi, I'm working on drawFeature.js and Path.js for drawing feature such as lines and polygons. How can I handle right mouse click during the feature drawing? My goal is to find a way to undo the current feature by right mouse clicking. Thank you for your help. Regards, Mario ___