From 9b361ef35da4e0a7e14a4fe412cb60f19f70b4b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 6 Jun 2011 07:12:52 +0000 Subject: [PATCH] make the drawing handlers create the sketch feature at an appropriate time, when we can actually derive geographic coordinates from a pixel, r=ahocevar (References #3327) git-svn-id: http://svn.openlayers.org/trunk/openlayers@12046 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/measure.html | 1 + lib/OpenLayers/Handler/Path.js | 22 +++++---- lib/OpenLayers/Handler/Point.js | 49 ++++++++------------ lib/OpenLayers/Handler/Polygon.js | 19 ++++---- tests/Control/DrawFeature.html | 11 ++--- tests/Control/Measure.html | 3 +- tests/Handler/Path.html | 76 +++++++++---------------------- tests/Handler/Point.html | 72 ++++++++++------------------- tests/Handler/Polygon.html | 71 ++++++++--------------------- 9 files changed, 116 insertions(+), 208 deletions(-) diff --git a/examples/measure.html b/examples/measure.html index 68780800e6..331df6822d 100644 --- a/examples/measure.html +++ b/examples/measure.html @@ -29,6 +29,7 @@