-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support reservoir flood model (#374)
Co-authored-by: lby <[email protected]>
- Loading branch information
Showing
14 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
extension/src/prototypes/ui-components/icons/ReservoirFloodingRiskIcon.tsx
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { createSvgIcon } from "@mui/material"; | ||
|
||
export const ReservoirFloodingRiskIcon = createSvgIcon( | ||
<> | ||
<path | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
d="M8.24766 7.29507H5.76225L4.55161 15.5049H4.00003V16.7049H5.58763L6.79827 8.49507H7.17962C7.5198 10.9613 8.28557 12.9146 9.3044 14.2996C10.3952 15.7823 11.8033 16.6422 13.2842 16.6959C14.7754 16.75 16.1962 15.9814 17.2857 14.5041C18.3008 13.1277 19.0459 11.1212 19.357 8.49507H20V7.29507H18.27L18.2195 7.83969C17.9642 10.5937 17.2352 12.5508 16.32 13.7918C15.41 15.0257 14.3372 15.5333 13.3276 15.4967C12.3077 15.4597 11.208 14.8621 10.271 13.5885C9.33466 12.3156 8.58805 10.396 8.30633 7.82961L8.24766 7.29507ZM9.59081 8.92951C9.79387 8.92951 9.92222 8.96947 10.0202 9.01772C10.1312 9.07245 10.2266 9.1478 10.378 9.27255L10.3866 9.27963C10.6965 9.53507 11.1265 9.88951 11.9208 9.88951C12.7156 9.88951 13.1478 9.53478 13.4594 9.27912L13.4664 9.27335C13.7393 9.0494 13.8916 8.92951 14.2508 8.92951C14.6101 8.92951 14.7623 9.0494 15.0352 9.27335L15.0423 9.27912C15.3538 9.53478 15.7861 9.88951 16.5808 9.88951V8.68951C16.2216 8.68951 16.0693 8.56961 15.7964 8.34566L15.7894 8.33989C15.4778 8.08424 15.0456 7.72951 14.2508 7.72951C13.4561 7.72951 13.0238 8.08424 12.7123 8.33989L12.7052 8.34566C12.4323 8.56961 12.2801 8.68951 11.9208 8.68951C11.5625 8.68951 11.4131 8.57056 11.1411 8.34646L11.1284 8.33593C10.9894 8.22135 10.7971 8.06279 10.5505 7.94129C10.2832 7.80955 9.97276 7.72951 9.59081 7.72951V8.92951Z" | ||
fill="black" | ||
/> | ||
<path | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
d="M10.0294 12.244V10.9703C10.1992 11.0069 10.3527 11.0621 10.4941 11.1318C10.7407 11.2533 10.933 11.4119 11.0719 11.5264L11.0719 11.5264L11.0847 11.537C11.3567 11.7611 11.506 11.88 11.8644 11.88C12.2236 11.88 12.3759 11.7601 12.6488 11.5362L12.6558 11.5304C12.9674 11.2747 13.3996 10.92 14.1944 10.92C14.9892 10.92 15.4214 11.2747 15.733 11.5304L15.74 11.5362C15.8487 11.6254 15.9383 11.6981 16.0294 11.7533V13.029C15.5367 12.9217 15.2255 12.6663 14.9858 12.4696L14.9788 12.4639C14.7059 12.2399 14.5536 12.12 14.1944 12.12C13.8351 12.12 13.6829 12.2399 13.41 12.4639L13.403 12.4696C13.0914 12.7253 12.6592 13.08 11.8644 13.08C11.0701 13.08 10.6401 12.7256 10.3302 12.4701L10.3302 12.4701L10.3216 12.4631C10.2006 12.3634 10.1154 12.2952 10.0294 12.244Z" | ||
fill="black" | ||
/> | ||
</>, | ||
"ReservoirFloodingRisk", | ||
); |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
import { | ||
HIGH_TIDE_RISK_LAYER, | ||
INLAND_FLOODING_RISK_LAYER, | ||
RESERVOIR_FLOODING_RISK_LAYER, | ||
RIVER_FLOODING_RISK_LAYER, | ||
TSUNAMI_RISK_LAYER, | ||
} from "../../../prototypes/view-layers"; | ||
|
||
export type FloodLayerType = | ||
| typeof INLAND_FLOODING_RISK_LAYER | ||
| typeof RESERVOIR_FLOODING_RISK_LAYER | ||
| typeof HIGH_TIDE_RISK_LAYER | ||
| typeof RIVER_FLOODING_RISK_LAYER | ||
| typeof TSUNAMI_RISK_LAYER; |
This file contains 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