[OpenLayers-Trac] [OpenLayers] #2889: Path handler: create APIFunction from dblclick internals

OpenLayers trac-20090302 at openlayers.org
Mon Oct 18 05:09:28 EDT 2010


#2889: Path handler: create APIFunction from dblclick internals
--------------------------+-------------------------------------------------
 Reporter:  bartvde       |       Owner:  tschaub     
     Type:  feature       |      Status:  new         
 Priority:  minor         |   Milestone:  2.11 Release
Component:  Handler.Path  |     Version:  2.10        
 Keywords:                |       State:              
--------------------------+-------------------------------------------------
 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.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/2889>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list