Implement next and preious temporal
This commit is contained in:
@@ -18,6 +18,9 @@ export const SELECTFEATURE = '[Map] SelectFeature';
|
||||
export const SELECTITEM = '[Map] SelectItem';
|
||||
export const SELECTITEMSUCCESS = '[Map] SelectItemSuccess';
|
||||
export const SELECTTEMPORALITEMSSUCCESS = '[Map] SelectTemporalItemsSuccess';
|
||||
export const NEXTTEMPORAL = '[Map] NextTemporal';
|
||||
export const PREVIOUSTEMPORAL = '[Map] PreviousTemporal';
|
||||
export const SELECTTEMPORAL = '[Map] SelectTemporal';
|
||||
export const ADDFEATURESUCCESS = '[Map] AddFeatureSuccess';
|
||||
export const UPDATEFEATURESUCCESS = '[Map] UpdateFeatureSuccess';
|
||||
export const EXPANDSEARCH = '[Map] ExpandSearch';
|
||||
@@ -105,6 +108,24 @@ export class SelectTemporalItemsSuccess implements Action {
|
||||
constructor(public temporalItems: IItem[]) { }
|
||||
}
|
||||
|
||||
export class NextTemporal implements Action {
|
||||
readonly type = NEXTTEMPORAL;
|
||||
|
||||
constructor() { }
|
||||
}
|
||||
|
||||
export class PreviousTemporal implements Action {
|
||||
readonly type = PREVIOUSTEMPORAL;
|
||||
|
||||
constructor() { }
|
||||
}
|
||||
|
||||
export class SelectTemporal implements Action {
|
||||
readonly type = SELECTTEMPORAL;
|
||||
|
||||
constructor(item:IItem) { }
|
||||
}
|
||||
|
||||
export class AddFeatureSuccess implements Action {
|
||||
readonly type = ADDFEATURESUCCESS;
|
||||
|
||||
@@ -233,6 +254,9 @@ export type Actions = SetMapState
|
||||
| SelectItem
|
||||
| SelectItemSuccess
|
||||
| SelectTemporalItemsSuccess
|
||||
| NextTemporal
|
||||
| PreviousTemporal
|
||||
| SelectTemporal
|
||||
| AddFeatureSuccess
|
||||
| UpdateFeatureSuccess
|
||||
| ExpandSearch
|
||||
|
Reference in New Issue
Block a user