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

Update Time of Travel Output (Map) #4

Open
deronsmith opened this issue Mar 31, 2022 · 0 comments
Open

Update Time of Travel Output (Map) #4

deronsmith opened this issue Mar 31, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@deronsmith
Copy link
Contributor

Fill in the function setToTOutputMap() found in static/js/workflow/time_of_travel_page.js (line 348).

Using leaflet (https://leafletjs.com/), add a map to the output which should be displayed along with the graph (above or below). Exact design layout may change. The html elements will need to be generated in JS to work with the existing templates, empty html blocks can also be placed in the templates if needed.

The map should have the stream segment geometries as layers, color coded depending upon the data value of the column selected (4-6) and the date selected (have a corresponding slider for selecting date) . The segments comid should be displayed on hover in the map. If a segment is clicked, details specific to that segment can be shown in an info window (segment length, average values, hours after timeseries start until contamination, etc... ). The stream segment geometries can be retrieved programmatically from: https://watersgeo.epa.gov/arcgis/rest/services/NHDPlus_NP21

@deronsmith deronsmith added the enhancement New feature or request label Mar 31, 2022
@JBoyce298 JBoyce298 self-assigned this Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants