[OpenLayers-Dev] Re: 2.11 SketchStarted
Xavier Mamano (jorix)
xavier.mamano at gmail.com
Tue Mar 6 13:37:46 EST 2012
Sounds good, yet I still have not worked with the Snapping code. I
understand that would be two steps, first handlers (#3319, Path and Polygon
...), then Snapping (and docs Layers.Vector ...), so two pulls.
> On Tuesday, March 6, 2012, Xavier Mamano (jorix) <xavier.mamano@>
>> For other reasons (http://trac.osgeo.org/openlayers/ticket/3319) I was
>> looking at the third parameter ("drawing") on "modify" callback.
>> And I thought ... "point" callback ("point" only occurs when drawing)
>> receive a "drawing" parameter and for the first point would be false. So
>> this would be the first point.
>> What opinion about it?
> I think we should add a sketchcreated event to the layer. This event will
> be triggered by the DrawFeature's create callback. The sketchstarted event
> would now be triggered by a point callback when this is the point point
> being added. This would require changing the Snapping control a bit, to
> make it listen to sketchcreated instead of sketchstarted. How does that
> Eric Lemoine
> Camptocamp France SAS
> Savoie Technolac, BP 352
> 73377 Le Bourget du Lac, Cedex
> Tel : 00 33 4 79 44 44 96
> Mail : eric.lemoine@
> Dev mailing list
> Dev at .osgeo
View this message in context: http://osgeo-org.1560.n6.nabble.com/2-11-SketchStarted-tp4550864p4552135.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.
More information about the Dev