forked from MapComplete/MapComplete
		
	Search: move limit responsability to the constructor, merge similar results
This commit is contained in:
		
							parent
							
								
									cdc1e05499
								
							
						
					
					
						commit
						6468e33d66
					
				
					 7 changed files with 62 additions and 23 deletions
				
			
		| 
						 | 
				
			
			@ -388,9 +388,9 @@ export default class ThemeViewState implements SpecialVisualizationState {
 | 
			
		|||
            new FilterSearch(this),
 | 
			
		||||
            new LocalElementSearch(this, 5),
 | 
			
		||||
            new CoordinateSearch(),
 | 
			
		||||
            this.featureSwitches.featureSwitchBackToThemeOverview.data ? new ThemeSearch(this, 3) : undefined,
 | 
			
		||||
            new OpenStreetMapIdSearch(this),
 | 
			
		||||
            new PhotonSearch(), // new NominatimGeocoding(),
 | 
			
		||||
            this.featureSwitches.featureSwitchBackToThemeOverview.data ? new ThemeSearch(this) : undefined
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
        this.recentlySearched = new RecentSearch(this)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue