forked from MapComplete/MapComplete
		
	Fix current view
This commit is contained in:
		
							parent
							
								
									59f56bd251
								
							
						
					
					
						commit
						346f45cff8
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -313,6 +313,9 @@ export default class LayoutConfig implements LayoutInformation { | |||
|         if (tags === undefined) { | ||||
|             return undefined | ||||
|         } | ||||
|         if(tags.id.startsWith("current_view")){ | ||||
|             return this.getLayer("current_view") | ||||
|         } | ||||
|         for (const layer of this.layers) { | ||||
|             if (!layer.source) { | ||||
|                 if (layer.isShown?.matchesProperties(tags)) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue