diff --git a/lib/OpenLayers/Map.js b/lib/OpenLayers/Map.js index 61144e05dc..9fe0656799 100644 --- a/lib/OpenLayers/Map.js +++ b/lib/OpenLayers/Map.js @@ -1325,9 +1325,16 @@ OpenLayers.Map = OpenLayers.Class({ }, this), eachStep: OpenLayers.Function.bind(function(lonlat) { var lonlat = new OpenLayers.LonLat(lonlat.lon, lonlat.lat); - this.moveTo(lonlat, this.zoom, true); + this.moveTo(lonlat, this.zoom, { + 'dragging': true, + 'noEvent': true + }); }, this), done: OpenLayers.Function.bind(function(lonlat) { + var lonlat = new OpenLayers.LonLat(lonlat.lon, lonlat.lat); + this.moveTo(lonlat, this.zoom, { + 'noEvent': true + }); this.events.triggerEvent("moveend"); }, this) }