forked from MapComplete/MapComplete
		
	Add minzoom for charging stations
This commit is contained in:
		
							parent
							
								
									03e81b602b
								
							
						
					
					
						commit
						4f4203f670
					
				
					 2 changed files with 7 additions and 2 deletions
				
			
		|  | @ -92,7 +92,7 @@ export default class LayoutConfig { | ||||||
|                 throw "Widenfactor too small" |                 throw "Widenfactor too small" | ||||||
|             }else{ |             }else{ | ||||||
|                 // Unofficial themes get away with this
 |                 // Unofficial themes get away with this
 | ||||||
|                 console.warn("Detected a very small widenfactor, bumping this above 1.") |                 console.warn("Detected a very small widenfactor for theme ", this.id ,", bumping this above 1.") | ||||||
|                 json.widenFactor = json.widenFactor + 1 |                 json.widenFactor = json.widenFactor + 1 | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  | @ -31,7 +31,12 @@ | ||||||
|         "minzoom": 16 |         "minzoom": 16 | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "charging_station", |     { | ||||||
|  |       "builtin":  "charging_station", | ||||||
|  |       "override": { | ||||||
|  |         "minzoom": 16 | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "toilet", |     "toilet", | ||||||
|     "bench", |     "bench", | ||||||
|     "waste_basket", |     "waste_basket", | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue