Ticket #774 (closed bug: fixed)
DragPan.panMap should not always trigger setCenter
| Reported by: | openlayers | Owned by: | tschaub |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.5 Release |
| Component: | Handler.Drag | Version: | 2.4 |
| Keywords: | Cc: | jeff.yutzler@… | |
| State: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

