[OpenLayers-Dev] 2.11 SketchStarted

Eric Lemoine eric.lemoine at camptocamp.com
Tue Mar 6 07:47:28 EST 2012


On Tue, Mar 6, 2012 at 11:50 AM, fell_runner <stewartb at esdm.co.uk> wrote:
> I have a drawfeature control with a path handler on a vector layer.  In 2.10
> the 'sketchstarted' event was triggered when the user clicked on map now it
> is triggered on 'mousemove' - this seems wrong as I haven't actually started
> drawing yet [i.e. clicked the mouse first].


But the initial point is there already. The snapping control listens
to sketchstarted for activating snapping.



-- 
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 at camptocamp.com
http://www.camptocamp.com


More information about the Dev mailing list