refactor: convert flood control map to mapbox and added simple flood simulation with 5, 25 and 100 year flood data#536
Open
chryzxc wants to merge 13 commits intobettergovph:mainfrom
Conversation
…/leaflet-to-mapbox-flood-simulation-5-25-100yr
Collaborator
|
Good work here! Any chance we can apply this to https://bisto.ph? |
Author
yep, but there would be limits if we're going to overlay the datasets from mapbox to google maps and since we are just using vector tiles from project noah, adding colors or applying styles in the map to visualize hazard levels is not possible |
Collaborator
|
Btw, I still want this integrated. Will find time soon to get this sorted. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR refactors the existing flood control map from Leaflet to Mapbox GL JS and adds new data and features:
Environment Changes
Added new Mapbox access token in .env:
Screenshots

Before
After







Data Reference
upri-noah.ph_fh_5yr_tlsupri-noah.ph_fh_25yr_tlsupri-noah.ph_fh_100yr_tlsNotes