Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange Zooming-behaviour #223

Open
wellemut opened this issue Aug 4, 2024 · 0 comments
Open

Strange Zooming-behaviour #223

wellemut opened this issue Aug 4, 2024 · 0 comments

Comments

@wellemut
Copy link
Member

wellemut commented Aug 4, 2024

Problem

The zooming-behaviour of the map is not smooth!

  1. When I zoom in several steps, it zooms out again a few steps. i.e. When I zoom vom 6 to 12, it zooms back to 7.
  2. zooming from 6 to 7 works without any strange behaviour

This happens only in the beginning when I start using the map. After a few interactions, it works smoothly and normal.
It seems to be connected with some kind of loading of data in the background.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://www.kartevonmorgen.org/m/main?c=47.5617%2C2.8564&z=5.00&mapColorMode=gray
  2. Start zooming before the map is loaded completly
  3. observe what happens after you have zoomed in sereval steps
  4. See error that the map zooms in from n to n+x (x>2) but directly zooms back to n+1 (zooming out is similiar behaviours.

Expected behavior

Zooming in several steps should just load the new map-area without zooming back.

maybe you have to delay the search request to the backend. Only if the user does not interact with the map for 0,5 seconds, the api call will start.

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Firefox and Chrome
  • Version: newest

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Sprint Backlog
Development

No branches or pull requests

1 participant