[OpenLayers-Dev] DragPan issue

Eric Lemoine eric.c2c at gmail.com
Fri Aug 10 08:43:53 EDT 2007


Hi all

DragPan control does setCenter() even if the mouse pointer hasen't
changed position between mousedown and mouseup. Among other things,
this means a moveend event is triggered on each map click. That
doesn't make much sense to me. What do you think about the attached
patch?

PS: if we agree there's a bug, I'll go ahead and open ticket, with a
patch including tests obviously ;-)

Thanks,

--
Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-dragpan.diff
Type: text/x-patch
Size: 1124 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20070810/d80acbb7/patch-dragpan.bin


More information about the Dev mailing list