achavi icon indicating copy to clipboard operation
achavi copied to clipboard

zoom and latlon doesnt work as espected on link/permalink

Open dex2000 opened this issue 7 years ago • 1 comments

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)

dex2000 avatar Jan 29 '18 16:01 dex2000

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.

nrenner avatar Jan 30 '18 14:01 nrenner