Ticket #2889 (closed feature: fixed)
Path handler: create APIFunction from dblclick internals
|Reported by:||bartvde||Owned by:||tschaub|
If someone wants to write a tool (button) which finishes the geometry instead of using double click, e.g. since they are working on a tablet device, they now have to use an internal method of OpenLayers.Handler.Path with a fake event object.
I propose to move the internals of the dblclick handler into a new APIMethod which can also be called externally, and then use that method in the dblclick handler.