forked from MapComplete/MapComplete
		
	Velopark: first decent, working version
This commit is contained in:
		
							parent
							
								
									890816d2dd
								
							
						
					
					
						commit
						5b6cd1d2ae
					
				
					 18 changed files with 7054 additions and 21769 deletions
				
			
		
							
								
								
									
										11
									
								
								src/test.ts
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								src/test.ts
									
										
									
									
									
								
							|  | @ -1,4 +1,15 @@ | |||
| import SvelteUIElement from "./UI/Base/SvelteUIElement" | ||||
| import Test from "./UI/Test.svelte" | ||||
| import LinkedDataLoader from "./Logic/Web/LinkedDataLoader" | ||||
| import { src_url_equal } from "svelte/internal" | ||||
| 
 | ||||
| new SvelteUIElement(Test).AttachTo("maindiv") | ||||
| 
 | ||||
| 
 | ||||
| const url_multiple_sections = "https://data.velopark.be/data/Stad-Deinze_14" | ||||
| const url_single_section = "https://data.velopark.be/data/NMBS_764" | ||||
| const url_with_shape = "https://data.velopark.be/data/Stad-Leuven_APCOA_018" | ||||
| const url_with_yearly_charge = "https://data.velopark.be/data/Cyclopark_AL02" | ||||
| const url = url_multiple_sections /*/ url_single_section //*/ | ||||
| const results = await LinkedDataLoader.fetchVeloparkEntry(url_with_yearly_charge) | ||||
| console.log(results) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue