[OpenLayers-Users] 2.13.1 Issue: OpenLayers.Handler.Drag doesn't propagate click events
Diego Guidi
diegoguidi at gmail.com
Thu Sep 12 08:38:36 PDT 2013
First of all, I don't know if I can post issues here or in the github
repository: I've posted some issues in the past
(https://github.com/openlayers/openlayers/issues/created_by/DGuidi?state=open)
that was ignored...
Anyway, I've updated my code from 2.12 to 2.13.1 and some behavior
changed: more precisely, I have a a DrawFeature control that I use to
draw polygons, but I'm listening in some external code, unrelated to
OpenLayers, from clicks in the map canvas to handle.
OpenLayers.Handler.Drag => dragstart in 2.12 contains a call to
'OpenLayers.Event.stop', but in 2.13.1 is changed to
'OpenLayers.Event.preventDefault', that doesn't propagete click events
outside.
My behavior looks actually a little bit tricky, but I think that maybe
the plain old stop method can do the same job...
Diego Guidi
More information about the Users
mailing list