forked from MapComplete/MapComplete
		
	Fix duplicate buildings for grb layer; add default flag for filters, performance improvement
This commit is contained in:
		
							parent
							
								
									31205f3430
								
							
						
					
					
						commit
						695a0867c7
					
				
					 13 changed files with 157 additions and 111 deletions
				
			
		|  | @ -9,6 +9,7 @@ export default class SourceConfig { | |||
|     public geojsonZoomLevel?: number; | ||||
|     public isOsmCacheLayer: boolean; | ||||
|     public readonly mercatorCrs: boolean; | ||||
|     public readonly idKey : string | ||||
| 
 | ||||
|     constructor(params: { | ||||
|         mercatorCrs?: boolean; | ||||
|  | @ -17,6 +18,7 @@ export default class SourceConfig { | |||
|         geojsonSource?: string, | ||||
|         isOsmCache?: boolean, | ||||
|         geojsonSourceLevel?: number, | ||||
|         idKey?: string | ||||
|     }, context?: string) { | ||||
| 
 | ||||
|         let defined = 0; | ||||
|  | @ -47,5 +49,6 @@ export default class SourceConfig { | |||
|         this.geojsonZoomLevel = params.geojsonSourceLevel; | ||||
|         this.isOsmCacheLayer = params.isOsmCache ?? false; | ||||
|         this.mercatorCrs = params.mercatorCrs ?? false; | ||||
|         this.idKey= params.idKey  | ||||
|     } | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue