OpenLayers JavaScript Mapping Library |
OpenLayers. Handler.PathHandler to draw a path on the map. Path is displayed on mouse down, moves on mouse move, and is finished on mouse up. Inherits fromSummary
OpenLayers. Handler.PathCreate a new path hander Parameters
|
Add temporary geometries
createFeature: function()
Destroy temporary geometries
destroyFeature: function()
Add point to geometry.
addPoint: function()
Determine whether to behave in freehand mode or not.
freehandMode: function( evt )
Modify the existing geometry given the new point
modifyFeature: function()
Render geometries on the temporary layer.
drawFeature: function()
Return a clone of the relevant geometry.
geometryClone: function()
Handle mouse down.
mousedown: function( evt )
Handle mouse move.
mousemove: function ( evt )
Handle mouse up.
mouseup: function ( evt )
Handle double-clicks.
dblclick: function( evt )