Zooming with scroll should centre on the pointer location not the map centre
Steps to reproduce
- position mouse pointer anywhere far from the centre of the screen
- 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.
I understand zooming is complex when it comes to interactions non-orthographic views.
Would you consider zoom-to-cursor for the flat-view only?
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 :)
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 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 :)