Ticket #521 (closed feature: fixed)

Opened 6 years ago

Last modified 6 years ago

vector-2.4: OpenLayers.Control.DrawPoint: notify user when the point is drawn

Reported by: openlayers Owned by:
Priority: minor Milestone: 2.4 Release
Component: Control Version: SVN
Keywords: Cc:
State:

Description

It would be nice if the user can pass a callback function to OpenLayers.Control.DrawPoint to be notified when the point is drawn.

In the patch, the user function is called after the point is added to the vector layer.

Regards,

fredj

Attachments

DrawPoint.js.patch Download (1.9 KB) - added by openlayers 6 years ago.
OpenLayers.Control.DrawPoint patch

Change History

Changed 6 years ago by openlayers

OpenLayers.Control.DrawPoint patch

Changed 6 years ago by tschaub

  • status changed from new to closed
  • resolution set to fixed

Thanks for the suggestion - taken care of in 2536 in the vector-2.4 sandbox.

Note: See TracTickets for help on using tickets.