On Thu, Jun 19, 2008 at 06:18:28PM +0200, Claudius Henrichs wrote: > 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?
map.events.register("moveend", null, updatemarkers); Regards, -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users