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

[MAP] Improve performance by only calling API on real region change #892

Open
bsoufflet opened this issue Mar 21, 2023 · 0 comments
Open

Comments

@bsoufflet
Copy link
Contributor

We could do the same as the mobile App :

  • we store the extends used to load the current set of entrances (markers) to display.
  • on map action (zoom, move, ...) we check if the new extends is larger than the saved one
  • only if the new extends is larger then we do an API call
  • otherwise we should only hide/show the entrance markers from the map using the locally saved list of entrances.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant