Opened 6 years ago

Closed 5 years ago

#4696 closed defect (wontfix)

mouse wheel zooming problems

Reported by: NE2 Owned by: rails-dev@…
Priority: major Milestone:
Component: website Version:
Keywords: Cc:


A recent change makes the map not stay centered when I zoom in/out using the mouse wheel in K-Meleon 1.5.3. It's an old browser (based on Mozilla 1.8), but this probably means that something's wrong with the code.

Change History (6)

comment:1 Changed 6 years ago by NE2

PS: double clicking with the mouse does work. So it's still able to detect the mouse position; it's just something wrong with the scroll wheel code.

comment:2 Changed 6 years ago by TomH

What do you mean by "stay centred" exactly?

I can't remember offhand exactly what OpenLayers? did, but Leaflet seems to be behaving reasonably as far as I can see - it ensures that whatever point I zoom in on with the scroll wheel stays in view as I zoom in.

comment:3 Changed 6 years ago by TomH

  • Resolution set to invalid
  • Status changed from new to closed

I've tried the old OL interface now (it's on and it seems to behave in much the same way as Leaflet and keep the point the mouse is over at a fixed point in the view as you zoom in.

comment:4 Changed 6 years ago by NE2

  • Resolution invalid deleted
  • Status changed from closed to reopened

Yes, it does work properly in currwnt versions Firefox and IE. Both of those are more bloated than K-Meleon. Until the recent change, it worked fine in all those browsers. I see no improvements, only a slight difference in UI, so why was it changed in the first place?

comment:5 Changed 6 years ago by TomH

Because somebody submitted a patch to change it and the consensus was that Leaflet is an improvement - it's smaller and works better on mobile devices.

comment:6 Changed 5 years ago by TomH

  • Resolution set to wontfix
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.