OpenLayers OpenLayers

Ticket #521 (closed feature: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Reported by: openlayers Assigned to:
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 (1.9 kB) - added by openlayers on 03/08/07 04:22:58.
OpenLayers.Control.DrawPoint patch

Change History

03/08/07 04:22:58 changed by openlayers

  • attachment DrawPoint.js.patch added.

OpenLayers.Control.DrawPoint patch

03/08/07 15:23:40 changed 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.