Skip to content

Fix issue for unnecessary API call when zooming in again in map #18

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

Open
koinsaari opened this issue Oct 1, 2024 · 0 comments
Open
Labels
backend bug Something isn't working

Comments

@koinsaari
Copy link
Owner

koinsaari commented Oct 1, 2024

Fix issue where zoomed into same place and cached items are used on UI, it makes still unnecessary call for Overpass API when it should just use the cached ones and make API call only if the center goes out of the old bounds.

Problem in function calculating bounds to fetch data from

@koinsaari koinsaari converted this from a draft issue Oct 1, 2024
@koinsaari koinsaari added bug Something isn't working backend labels Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant