Ticket #1380 (closed bug: wontfix)
Multimap layers lags behind mouse pointer on pan
| Reported by: | openlayers | Owned by: | euzuro |
|---|---|---|---|
| Priority: | major | Milestone: | 2.11 Release |
| Component: | Layer.MultiMap | Version: | 2.5 |
| Keywords: | Cc: | nick@… | |
| State: |
Description
When a Multimap layer is configured, if you click on a point and pan across some distance, the mouse pointer will no longer be pointing at that point. This has the effect of making interaction with the map seem rather sluggish.
This is due to the smooth scrolling code in the Multimaps API library.
A fix is just to disable smoothscroll whenever a multimap layer is created - I have just put the line
this.mapObject.setOption('smoothpan', false);
in the loadMapObject() function in lib/OpenLayers/Layer/MultiMap.js.
cheers
Nick
Change History
Note: See
TracTickets for help on using
tickets.
