forked from MapComplete/MapComplete
		
	Full code cleanup
This commit is contained in:
		
							parent
							
								
									8e6ee8c87f
								
							
						
					
					
						commit
						bd21212eba
					
				
					 246 changed files with 19418 additions and 11729 deletions
				
			
		|  | @ -4,14 +4,14 @@ import {UIEventSource} from "../../Logic/UIEventSource"; | |||
| import ShowOverlayLayer from "./ShowOverlayLayer"; | ||||
| 
 | ||||
| export default class ShowOverlayLayerImplementation { | ||||
|      | ||||
|     public static Implement(){ | ||||
| 
 | ||||
|     public static Implement() { | ||||
|         ShowOverlayLayer.implementation = ShowOverlayLayerImplementation.AddToMap | ||||
|     } | ||||
|      | ||||
| 
 | ||||
|     public static AddToMap(config: TilesourceConfig, | ||||
|                            leafletMap: UIEventSource<any>, | ||||
|                            isShown: UIEventSource<boolean> = undefined){ | ||||
|                            isShown: UIEventSource<boolean> = undefined) { | ||||
|         leafletMap.map(leaflet => { | ||||
|             if (leaflet === undefined) { | ||||
|                 return; | ||||
|  | @ -41,5 +41,5 @@ export default class ShowOverlayLayerImplementation { | |||
| 
 | ||||
|         }) | ||||
|     } | ||||
|      | ||||
| 
 | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue