Do not handle map event in 3D mode
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma
2022-09-28 21:03:21 +02:00
parent a9185b86af
commit 41c7ab15f3
6 changed files with 36 additions and 9 deletions

View File

@@ -55,6 +55,7 @@ export const TOGGLELAYERVALUESENABLED = '[Map] ToggleLayerValuesEnabled'
export const GETLAYERVALUE = '[Map] GetLayerValue'
export const GETLAYERVALUESUCCESS = '[Map] GetLayerValueSuccess'
export const TOGGLESHOWDATALAYERSLIDE = '[Map] ToggleShowDataLayerSlide'
export const SETVIEWSTATE = '[Map] SetViewState'
export class Clear implements Action {
@@ -323,6 +324,11 @@ export class ToggleShowDataLayerSlide implements Action {
constructor() {}
}
export class SetViewState implements Action {
readonly type = SETVIEWSTATE;
constructor(public enabled:boolean) {}
}
export type Actions = SetMapState
| Init
| Clear
@@ -367,5 +373,6 @@ export type Actions = SetMapState
| GetLayerValueSuccess
| GetLayerValue
| SetPeriod
| ToggleShowDataLayerSlide;
| ToggleShowDataLayerSlide
| SetViewState;