MapComplete/src/test.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
553 B
TypeScript
Raw Normal View History

import { Mapillary } from "./Logic/ImageProviders/Mapillary"
import Test from "./UI/Test.svelte"
const target = document.getElementById("maindiv")
target.innerHTML = ""
/*
let imgId = "8af265ba-3521-4c46-b2a9-c072215c1de3"
let panoramax = new PanoramaxXYZ()
panoramax.imageInfo(imgId).then((imageInfo: ImageData) => {
console.log("IMG INFO: ", imageInfo)
new Test({ target, props: { imageInfo } })
})*/
2024-02-20 02:01:08 +01:00
let pkey = 1199645818028177
2025-04-15 18:18:44 +02:00
new Mapillary().DownloadImageInfo(pkey).then((imageInfo) => {
new Test({ target, props: { imageInfo } })
})