[OpenLayers-Trac] [OpenLayers] #1081: OpenLayers.Handler.Path / Polygon 'point' property callback suggestion to report full geometry

OpenLayers trac at openlayers.org
Sat Jul 12 17:35:13 EDT 2008


#1081: OpenLayers.Handler.Path / Polygon 'point' property callback suggestion to
report full geometry
-------------------------+--------------------------------------------------
  Reporter:  openlayers  |       Owner:  tschaub                             
      Type:  feature     |      Status:  closed                              
  Priority:  minor       |   Milestone:  2.7 Release                         
 Component:  Handler     |     Version:  2.5                                 
Resolution:  invalid     |    Keywords:  Handler path polygon callbacks point
     State:              |  
-------------------------+--------------------------------------------------
Changes (by elemoine):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 I don't get it. There's is the 'done' callback for exactly that, isn't it?
 The API doc says:

 {{{
      * callbacks - {Object} An object with a 'done' property whos value is
      *                          a function to be called when the path
 drawing is
      *                          finished. The callback should expect to
 recieve a
      *                          single argument, the polygon geometry.
      *                          If the callbacks object contains a 'point'
      *                          property, this function will be sent each
 point
      *                          as they are added.  If the callbacks
 object contains
      *                          a 'cancel' property, this function will be
 called when
      *                          the handler is deactivated while drawing.
 The cancel
      *                          should expect to receive a geometry.
 }}}

 Closing this ticket. If I'm missing something please shout at me and
 reopen the ticket.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/1081#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list