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

Etruscan: update the view to zoom to available markers on three of the dropdowns #133

Open
jonathanwestin opened this issue Sep 16, 2024 · 1 comment

Comments

@jonathanwestin
Copy link
Contributor

Use scenario:

  1. when the user picks the all-option in the dataset-dropdown, or any of the available options, the view zooms out/in to show all available markers.
  2. when the user picks the all option in the site-dropdown, or any of the available options, the view zooms out/in to show all available markers.
  3. when the user picks the all option in the necropolis-dropdown, or any of the available options, the view zooms out/in to show all available markers.

In other words, these three dropdowns changes the viewfinder to a position and zoom calculated from a bounding box of the available markers/places. It is exactly how we do it in SHFA with searches, so hopefully that project can function as a blueprint for implementation both in backend and frontend.

@jonathanwestin jonathanwestin changed the title Etruscan: update the view to show available markers on three of the dropdowns Etruscan: update the view to zoom to available markers on three of the dropdowns Sep 22, 2024
@mtomasini
Copy link
Contributor

@TristanBridge let me know if you need new views / filters in the backend for this. I think I provided you with what you need but I'm never sure which API you use for what.

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

No branches or pull requests

3 participants