forked from MapComplete/MapComplete
		
	Add hotkeys, document hotkeys, make 'DefaultGUI' runnable via NodeJS, generate hotkey documentation
This commit is contained in:
		
							parent
							
								
									e2419c19cd
								
							
						
					
					
						commit
						43613e4ece
					
				
					 16 changed files with 328 additions and 89 deletions
				
			
		|  | @ -17,7 +17,10 @@ export default class ShowDataLayer { | |||
|      */ | ||||
|     constructor(options: ShowDataLayerOptions & { layerToShow: LayerConfig }) { | ||||
|         if (ShowDataLayer.actualContstructor === undefined) { | ||||
|             throw "Show data layer is called, but it isn't initialized yet. Call ` ShowDataLayer.actualContstructor = (options => new ShowDataLayerImplementation(options)) ` somewhere, e.g. in your init" | ||||
|             console.error( | ||||
|                 "Show data layer is called, but it isn't initialized yet. Call ` ShowDataLayer.actualContstructor = (options => new ShowDataLayerImplementation(options)) ` somewhere, e.g. in your init" | ||||
|             ) | ||||
|             return | ||||
|         } | ||||
|         ShowDataLayer.actualContstructor(options) | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue