Revert "AW-2924 Cache codelists"

This reverts commit 914e272fc2.
This commit is contained in:
2023-08-09 10:17:32 +02:00
parent 914e272fc2
commit d92bf54c8d
5 changed files with 10 additions and 93 deletions

View File

@@ -5,7 +5,7 @@ import { IItemLayer } from '../models/item.layer';
import { ILayervalue } from '../models/layer.value';
import { IQueryState } from '@farmmaps/common';
import { IItem } from '@farmmaps/common';
import { Feature, Observable } from 'ol';
import { Feature } from 'ol';
import { Style } from 'ol/style';
import { Geometry } from 'ol/geom';
import { IPeriodState } from '../models/period.state';
@@ -56,7 +56,7 @@ export const GETLAYERVALUE = '[Map] GetLayerValue'
export const GETLAYERVALUESUCCESS = '[Map] GetLayerValueSuccess'
export const TOGGLESHOWDATALAYERSLIDE = '[Map] ToggleShowDataLayerSlide'
export const SETVIEWSTATE = '[Map] SetViewState'
export const SETCODELIST = '[Map] SetCodeList'
export class Clear implements Action {
readonly type = CLEAR;
@@ -329,12 +329,6 @@ export class SetViewState implements Action {
constructor(public enabled:boolean) {}
}
export class SetCodeList implements Action {
readonly type = SETCODELIST;
constructor(public itemType:string, public values: IItem[]) { }
}
export type Actions = SetMapState
| Init
| Clear
@@ -380,6 +374,5 @@ export type Actions = SetMapState
| GetLayerValue
| SetPeriod
| ToggleShowDataLayerSlide
| SetViewState
| SetCodeList;
| SetViewState;