File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import {
22
22
Tsunami as SwanIcon ,
23
23
Water as MaxElevationIcon ,
24
24
Waves as HIResMaxElevationIcon ,
25
+ LocalMovies as AnimationIcon
25
26
} from '@mui/icons-material' ;
26
27
import { getBrandingHandler , getNamespacedEnvParam , getPreferredTimeZone } from "@utils/map-utils" ;
27
28
import { getDefaultInstanceName } from "@components/config" ;
@@ -34,6 +35,7 @@ const layerIcons = {
34
35
swan_HS_max63 : < SwanIcon /> ,
35
36
maxinundepth63 : < MaxInundationIcon /> ,
36
37
maxele_level_downscaled_epsg4326 : < HIResMaxElevationIcon /> ,
38
+ ani : < AnimationIcon />
37
39
} ;
38
40
39
41
export const ControlPanel = ( ) => {
Original file line number Diff line number Diff line change 9
9
BlurOn as WaterSurfaceIcon ,
10
10
Waves as HIResMaxElevationIcon ,
11
11
Flood as FloodIcon ,
12
+ LocalMovies as AnimationIcon
12
13
} from '@mui/icons-material' ;
13
14
14
15
export const LayersContext = createContext ( { } ) ;
@@ -37,6 +38,9 @@ const layerTypes = {
37
38
maxinundepth63 : {
38
39
icon : FloodIcon ,
39
40
} ,
41
+ ani : {
42
+ icon : AnimationIcon ,
43
+ } ,
40
44
} ;
41
45
42
46
export const LayersProvider = ( { children } ) => {
@@ -60,7 +64,7 @@ export const LayersProvider = ({ children }) => {
60
64
const [ showShareComment , setShowShareComment ] = useState ( true ) ;
61
65
62
66
// used to show alerts
63
- const [ alertMsg , setAlertMsg ] = useState ( null ) ;
67
+ const [ alertMsg , setAlertMsg ] = useState ( null ) ;
64
68
65
69
// state to capture the default startup instance name
66
70
const [ defaultInstanceName , setDefaultInstanceName ] = useState ( null ) ;
You can’t perform that action at this time.
0 commit comments