-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
5SPEffort Estimation: Half WeekEffort Estimation: Half Week
Milestone
Description
- Add the ability for the user to able to select storm tracks via a drag motion on the canvas
- Update the client store (ex:
SelectedStorms) to keep the state of all of the storms selected
Notes on possible steps to approach:
- You can start by adding the controls used for reaches (
addReachControls) to the the storm-tracks-page in thestore/shared/client/MapStore.jsxfile
if (studyView === "feasibility-storm-tracks") {
get().addStormTracksControls(map, studyView);
}
// default controls if not specified
if (
![
"study-boundary",
"study-shoreline",
"study-reach",
"feasibility-reach",
"feasibility-storm-tracks",
].includes(studyView)
) {
get().addDefaultControls(map, studyView);
}
- At a high level I think you can use maplibre's [queryrenderedfeatures]https://maplibre.org/maplibre-gl-js/docs/API/classes/Map/#queryrenderedfeatures] function to query data inside of the bbox of the rectanlge or polygon you draw
Metadata
Metadata
Assignees
Labels
5SPEffort Estimation: Half WeekEffort Estimation: Half Week