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 layer parameters are selected independently #86

Open
eatyourgreens opened this issue Aug 9, 2024 · 2 comments
Open

Map layer parameters are selected independently #86

eatyourgreens opened this issue Aug 9, 2024 · 2 comments

Comments

@eatyourgreens
Copy link
Contributor

eatyourgreens commented Aug 9, 2024

https://jamaica.infrastructureresilience.org/exposure?lat=17.87511&lon=-77.24007&zoom=12.78&assets=true&hazards=true&buildings=true&regions=false&terrestrial=false&marine=false

Hazard layer parameters (and parameters for other layers too) are stored independently, so I can select river flooding for 2050, but surface flooding for 2080 and cyclones for the present day. I'm not sure if this is a bug as such, but I think that I'd expect epoch to be set globally for all layers, when I change it for one layer. Otherwise, I have to go through all my currently selected layers and change the epoch for each one, if I want to see exposure for 2050, say.

@eatyourgreens
Copy link
Contributor Author

Each of the hazard options has a different list of epochs, so one global epoch variable might not work after all.

eg.

@eatyourgreens
Copy link
Contributor Author

I'm ignoring hazard parameters in the URL for the time being. URLs record the selected hazard, but layer parameters are set to the defaults.

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