achavi
achavi copied to clipboard
zoom and latlon doesnt work as espected on link/permalink
Steps to reproduce:
- Open https://nrenner.github.io/achavi/?changeset=55824788&zoom=21&lat=51.77024&lon=8.23134&layers=B0TTTFT
- hover on permalink bottom right
- shows https://nrenner.github.io/achavi/?changeset=55824788&zoom=16&lat=51.77053&lon=8.23445&layers=B0TTTFT
I think, the "problem" is, that the CS is centered for the View. Imho it should center only if not other parameters are given (like https://nrenner.github.io/achavi/?changeset=55824788)
You are right, when loading a changeset, the map is zoomed to the changeset extent and the permalink parameters are ignored.
Agree, that the permalink parameters should be used when given. Can't tell if and when this will be fixed though.