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
This commit is contained in:
@@ -52,10 +52,9 @@
|
||||
})
|
||||
};
|
||||
|
||||
trigger("mousemove", 0, 0);
|
||||
// keep a reference to the line being drawn
|
||||
var line = control.handler.line;
|
||||
|
||||
trigger("mousemove", 0, 0);
|
||||
trigger("mousedown", 0, 0);
|
||||
trigger("mouseup", 0, 0);
|
||||
trigger("mousemove", 10, 10);
|
||||
|
||||
Reference in New Issue
Block a user