OpenLayers JavaScript Mapping Library |
OpenLayers. Handler. PolygonHandler to draw a polygon on the map. Polygon is displayed on mouse down, moves on mouse move, and is finished on mouse up. Inherits fromSummary
OpenLayers. Handler. PolygonCreate a Polygon Handler. Parameters
|
Add temporary geometries
createFeature: function()
Destroy temporary geometries
destroyFeature: function()
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 double-clicks.
dblclick: function( evt )