forked from MapComplete/MapComplete
		
	More work on splitting roads, WIP; refactoring tests
This commit is contained in:
		
							parent
							
								
									e374bb355c
								
							
						
					
					
						commit
						1f93923820
					
				
					 62 changed files with 1163 additions and 823 deletions
				
			
		|  | @ -16,6 +16,11 @@ export interface MinimapOptions { | |||
|     lastClickLocation?: UIEventSource<{ lat: number, lon: number }> | ||||
| } | ||||
| 
 | ||||
| export interface MinimapObj { | ||||
|     readonly leafletMap: UIEventSource<any>,  | ||||
|     installBounds(factor: number | BBox, showRange?: boolean) : void | ||||
| } | ||||
| 
 | ||||
| export default class Minimap { | ||||
|     /** | ||||
|      * A stub implementation. The actual implementation is injected later on, but only in the browser. | ||||
|  | @ -25,6 +30,6 @@ export default class Minimap { | |||
|     /** | ||||
|      * Construct a minimap | ||||
|      */ | ||||
|     public static createMiniMap: (options: MinimapOptions) => BaseUIElement & { readonly leafletMap: UIEventSource<any> } | ||||
|     public static createMiniMap: (options: MinimapOptions) => (BaseUIElement & MinimapObj) | ||||
| 
 | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue