Ticket #1509 (closed bug: fixed)
Map dragging is not as smooth as it could be
| Reported by: | tono | Owned by: | crschmidt |
|---|---|---|---|
| Priority: | critical | Milestone: | 2.7 Release |
| Component: | general | Version: | 2.6 RC2 |
| Keywords: | Cc: | tomas.novotny@… | |
| State: | Complete |
Description
There is a lot of processing on every mouse move during dragging. We should only move layers container until these caltulations are necessary. Current implementation can cause lags in map move not only on older computers. Particularly in IE6/7 browsers lags are quite big.
I tried to modify Control/DragPan.js to only move layers container via CSS until not-moving for 25ms or drag end. You can try:
Consider it only as a proof of concept and thing to discussion. I don't know OL source architecture deeply.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

