Ticket #774 (closed bug: fixed)
DragPan.panMap should not always trigger setCenter
|Reported by:||openlayers||Owned by:||tschaub|
In some circumstances, DragPan.panMap and DragPan.panMapDone get called with an xy argument that is the same as the start position this.handler.start. In other words, no actual pan operation has occurred. In these circumstances, we need to prevent map.setCenter from being called. The patch included contains suitable logic for this.