2023-10-06 23:56:50 +02:00
|
|
|
import SvelteUIElement from "./UI/Base/SvelteUIElement"
|
2023-11-19 01:05:15 +01:00
|
|
|
import Test from "./UI/Test.svelte"
|
2024-04-05 17:49:31 +02:00
|
|
|
import LinkedDataLoader from "./Logic/Web/LinkedDataLoader"
|
|
|
|
import { src_url_equal } from "svelte/internal"
|
2024-02-20 02:01:08 +01:00
|
|
|
|
2024-03-19 01:32:06 +01:00
|
|
|
new SvelteUIElement(Test).AttachTo("maindiv")
|
2024-04-05 17:49:31 +02:00
|
|
|
|
|
|
|
|
|
|
|
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)
|