| 
									
										
										
										
											2022-05-06 12:41:24 +02:00
										 |  |  | import {SelectOneNearbyImage} from "./UI/Popup/NearbyImages"; | 
					
						
							|  |  |  | import Minimap from "./UI/Base/Minimap"; | 
					
						
							|  |  |  | import MinimapImplementation from "./UI/Base/MinimapImplementation"; | 
					
						
							| 
									
										
										
										
											2022-02-12 02:53:41 +01:00
										 |  |  | import {VariableUiElement} from "./UI/Base/VariableUIElement"; | 
					
						
							| 
									
										
										
										
											2022-05-06 12:41:24 +02:00
										 |  |  | import Loc from "./Models/Loc"; | 
					
						
							| 
									
										
										
										
											2022-02-12 02:53:41 +01:00
										 |  |  | import {UIEventSource} from "./Logic/UIEventSource"; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-06 12:41:24 +02:00
										 |  |  | MinimapImplementation.initialize() | 
					
						
							|  |  |  | const map = Minimap.createMiniMap({ | 
					
						
							|  |  |  |     location: new UIEventSource<Loc>({ | 
					
						
							|  |  |  |         lon: 3.22457, | 
					
						
							|  |  |  |         lat: 51.20876, | 
					
						
							|  |  |  |         zoom: 18 | 
					
						
							| 
									
										
										
										
											2022-04-22 01:45:54 +02:00
										 |  |  |     }) | 
					
						
							| 
									
										
										
										
											2022-05-06 12:41:24 +02:00
										 |  |  | }) | 
					
						
							|  |  |  | map.AttachTo("extradiv") | 
					
						
							|  |  |  | map.SetStyle("height: 500px") | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | new VariableUiElement(map.location.map( loc =>  new SelectOneNearbyImage( {...loc, radius: 50}))).AttachTo("maindiv") |