forked from MapComplete/MapComplete
		
	Set maxzoom again in minimap
This commit is contained in:
		
							parent
							
								
									ccc55a342d
								
							
						
					
					
						commit
						b453e39a7f
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -81,7 +81,8 @@ export class MinimapViz implements SpecialVisualization { | ||||||
|         const [lon, lat] = GeoOperations.centerpointCoordinates(feature) |         const [lon, lat] = GeoOperations.centerpointCoordinates(feature) | ||||||
|         const mla = new MapLibreAdaptor(mlmap, { |         const mla = new MapLibreAdaptor(mlmap, { | ||||||
|             rasterLayer: state.mapProperties.rasterLayer, |             rasterLayer: state.mapProperties.rasterLayer, | ||||||
|             zoom: new UIEventSource<number>(18) |             zoom: new UIEventSource<number>(17), | ||||||
|  |             maxzoom: new UIEventSource<number>(17) | ||||||
|         }) |         }) | ||||||
| 
 | 
 | ||||||
|         mla.allowMoving.setData(false) |         mla.allowMoving.setData(false) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue