BlueMap icon indicating copy to clipboard operation
BlueMap copied to clipboard

Zooming with scroll should centre on the pointer location not the map centre

Open globau opened this issue 3 years ago • 4 comments

Steps to reproduce

  1. position mouse pointer anywhere far from the centre of the screen
  2. scroll to zoom in

Expected result

  • the map should zoom in on the location where the mouse is positioned

Actual result

  • the map always zooms in on the centre of the map

Context

BlueMap Version: 1.7.3-spigot, 3.4-spigot

The current the zoom behaviour works differently from all other mapping software I've used, including but not limited to Dynmap and Google Maps.

globau avatar Aug 26 '22 05:08 globau

I understand zooming is complex when it comes to interactions non-orthographic views.

Would you consider zoom-to-cursor for the flat-view only?

globau avatar Jul 27 '25 07:07 globau

I am considering the entire thing, otherwise this issue would be closed ^^ There is a webapp rewrite i want to do, this is planned to be included there in some way. Stuff unfortunately takes time. There is a ton on the TODO and I have to prioritise it somehow :)

TBlueF avatar Jul 27 '25 08:07 TBlueF

Sorry, this wasn't an attempt to bump this issue in terms of priority or to subtly complain about its existance; I should have provided some context.

I was wondering if it was worth putting some of my own time against. However, with the larger webapp rewrite in the works I assume "probably not".

globau avatar Jul 27 '25 10:07 globau

@globau So i can't say any certain eta, but right now i think the webapp rewrite will still take a good amount of time until comleted .. So it might be worth for you to look into an intermediate solution if you want. If your goal is to make a PR for this, then make sure that the zoom-to-cursor feature is toggleable in the webapps settings menu :)

TBlueF avatar Jul 27 '25 12:07 TBlueF