Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Mouse wheel zoom should also recenter #461

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Mouse wheel zoom should also recenter #461

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: osm[at]deelkar.net
[Submitted to the original trac issue database at 11.48pm, Wednesday, 16th May 2007]

As Jonas put it on the Mailing list:
When zooming in on the slippy map previously, for a while, it
zoomed around the point where the mouse pointed. Now it zooms to
the center of the map no matter where the mouse is (at least in my
Firefox 2.0.0.3). I liked the other behaviour and would like to see
that restored.

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 2.22pm, Friday, 15th June 2007]

The upgrade to OpenLayers 2.4 has resolved - it doesn't actually recenter, but it does zoom on the point where the mouse is so that the area you are zooming on stays in view.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant