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

Display project features and information based on url #16

Open
6 tasks
steveoh opened this issue Sep 24, 2024 · 0 comments
Open
6 tasks

Display project features and information based on url #16

steveoh opened this issue Sep 24, 2024 · 0 comments
Assignees
Labels
area: map interface Functionality within the map UI area: project panel Functionality within the project panel size: small 10 hours or less estimated

Comments

@steveoh
Copy link
Member

steveoh commented Sep 24, 2024

WRI projects are linked to by hash routing from the parent application using an id=project_id pattern e.g. `/map/map.html#id=2427.

Tasks

  1. When the app loads check for a project hash

    • Query for the project information and display the project information panel
    • Zoom to the project features extent
  2. When a project centroid or project features are clicked and no project is already selected

    • Query for the project information and display the project information panel
    • Zoom to the project features extent
  3. When the hash changes (typically by a user interaction)

    • Query for the project information and display the project information panel
    • Zoom to the project features extent

References

@steveoh steveoh added area: map interface Functionality within the map UI area: project panel Functionality within the project panel size: small 10 hours or less estimated labels Sep 24, 2024
@steveoh steveoh changed the title Display project features and information Display project features and information based on url Sep 24, 2024
@steveoh steveoh self-assigned this Dec 3, 2024
steveoh added a commit that referenced this issue Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: map interface Functionality within the map UI area: project panel Functionality within the project panel size: small 10 hours or less estimated
Projects
None yet
Development

No branches or pull requests

1 participant