OpenLayers JavaScript Mapping Library |
OpenLayers. Handler. PointHandler to draw a point on the map. Point is displayed on mouse down, moves on mouse move, and is finished on mouse up. The handler triggers callbacks for ‘done’ and ‘cancel’. Create a new instance with the OpenLayers.Handler.Point constructor. Inherits fromSummary
OpenLayers. Handler. PointCreate a new point handler. Parameters
|
turn on the handler
activate: function()
turn off the handler
deactivate: function()
Finish the geometry and call the “cancel” callback.
cancel: function()