Add setfeatures action
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
				
			This commit is contained in:
		@@ -42,6 +42,7 @@ export const SETSTYLE = '[Map] SetStyle';
 | 
			
		||||
export const SHOWLAYERSWITCHER = '[Map] ShowLayerSwitcher';
 | 
			
		||||
export const CLEAR = '[Map] Clear';
 | 
			
		||||
export const SETREPLACEURL = '[Map] SetReplaceUrl';
 | 
			
		||||
export const SETFEATURES = '[Map] SetFeatures'
 | 
			
		||||
 | 
			
		||||
export class Clear implements Action {
 | 
			
		||||
  readonly type = CLEAR;
 | 
			
		||||
@@ -256,6 +257,12 @@ export class SetReplaceUrl implements Action {
 | 
			
		||||
  constructor(public replaceUrl:boolean) {}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export class SetFeatures implements Action {
 | 
			
		||||
  readonly type = SETFEATURES;
 | 
			
		||||
 | 
			
		||||
  constructor(public features: Array<Feature>) { }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export type Actions = SetMapState
 | 
			
		||||
  | Init
 | 
			
		||||
  | Clear
 | 
			
		||||
@@ -291,5 +298,6 @@ export type Actions = SetMapState
 | 
			
		||||
  | DoQuery
 | 
			
		||||
  | SetStyle
 | 
			
		||||
  | ShowLayerSwitcher
 | 
			
		||||
  | SetReplaceUrl;
 | 
			
		||||
  | SetReplaceUrl
 | 
			
		||||
  | SetFeatures;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user