Adding a 'sketchstarted' event on the vector layer. This event is triggered at the start of each new sketch. r=ahocevar (closes #1945)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@9269 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2009-04-12 15:36:15 +00:00
parent 70c3fd077d
commit dfcf68007e
11 changed files with 85 additions and 30 deletions

View File

@@ -37,7 +37,9 @@
"featuremodified": report,
"afterfeaturemodified": report,
"vertexmodified": report,
"sketchmodified": report
"sketchmodified": report,
"sketchstarted": report,
"sketchcomplete": report
});
controls = {
point: new OpenLayers.Control.DrawFeature(vectors,