Do not handle map event in 3D mode

This commit is contained in:
Willem Dantuma
2022-09-28 21:17:57 +02:00
parent cf84f8c93d
commit ac5bd7d635
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;