rem: var zoom = this.getMapObjectZoomFromOLZoom(newZoom); this.setMapObjectCenter(center, zoom); 
add:  if (dragging && this.dragPanMapObject) { var res = this.map.resolution; var dX = (newCenter.lon - oldCenter.lon) / res; var dY = (newCenter.lat - oldCenter.lat) / res; this.dragPanMapObject(dX, dY); } else { var zoom = this.getMapObjectZoomFromOLZoom(newZoom); this.setMapObjectCenter(center, zoom, dragging); } 
context:     moveTo:function(bounds, zoomChanged, dragging) {        OpenLayers.Layer.prototype.moveTo.apply(this, arguments);        if (this.mapObject != null) {            var newCenter = this.map.getCenter();            var newZoom = this.map.getZoom();            if (newCenter != null) {                var moOldCenter = this.getMapObjectCenter();                var oldCenter = this.getOLLonLatFromMapObjectLonLat(moOldCenter);                var moOldZoom = this.getMapObjectZoom();                var oldZoom= this.getOLZoomFromMapObjectZoom(moOldZoom);                if ( !(newCenter.equals(oldCenter)) ||                      !(newZoom == oldZoom) ) {                    var center = this.getMapObjectLonLatFromOLLonLat(newCenter);                    var zoom = this.getMapObjectZoomFromOLZoom(newZoom);                    this.setMapObjectCenter(center, zoom);                }            }        }    },
meta: 1027	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1027/0e53fa10bfd323f785b07751033fe7f8dd04eb77/EventPane.js/buggy/lib/OpenLayers/Layer/EventPane.js