[OpenLayers-Users] Custom drag:done handler interferes with
map-dragging
Claudius Henrichs
claudius.h at gmx.de
Thu Jun 19 12:18:28 EDT 2008
Hello there,
I want to perform a map update (getting new markers) each time dragging
the map has finished. What i tried so far ended up in the map-dragging
getting disabled:
// Create a drag handler
var draghandler = new OpenLayers.Handler.Drag(this, {done: function()
{this, updatemarkers();}} );
// Attaching the draghandler to the map
draghandler.setMap(map);
// Activate draghandler
draghandler.activate();
What can I do better?
Regards,
Claudius
More information about the Users
mailing list