forked from MapComplete/MapComplete
chore: automated housekeeping...
This commit is contained in:
parent
79b6927b56
commit
42ded4c1b1
328 changed files with 4062 additions and 1284 deletions
|
@ -1,5 +1,4 @@
|
|||
<script lang="ts">
|
||||
|
||||
import { onMount } from "svelte"
|
||||
|
||||
export let imageInfo
|
||||
|
@ -8,32 +7,25 @@
|
|||
|
||||
let container: HTMLElement
|
||||
|
||||
|
||||
onMount(() => {
|
||||
console.log("Creating viewer...")
|
||||
const features = [
|
||||
{
|
||||
"type": "Feature",
|
||||
"properties": { "name": "trap" },
|
||||
"geometry": {
|
||||
"coordinates": [
|
||||
3.742395038713312,
|
||||
51.05237592785801
|
||||
],
|
||||
"type": "Point"
|
||||
}
|
||||
}
|
||||
type: "Feature",
|
||||
properties: { name: "trap" },
|
||||
geometry: {
|
||||
coordinates: [3.742395038713312, 51.05237592785801],
|
||||
type: "Point",
|
||||
},
|
||||
},
|
||||
]
|
||||
const viewer = new PhotoSphereViewerWrapper(container, imageInfo, features)
|
||||
|
||||
|
||||
// console.log(panorama, container)
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" href="./node_modules/pannellum/build/pannellum.css">
|
||||
<link rel="stylesheet" href="./node_modules/pannellum/build/pannellum.css" />
|
||||
</head>
|
||||
<div bind:this={container} class="h-screen w-screen border" style="height: 500px"></div>
|
||||
|
||||
<div bind:this={container} class="h-screen w-screen border" style="height: 500px" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue