Feature: first working version of inspecting 360° images

This commit is contained in:
Pieter Vander Vennet 2025-03-30 03:10:29 +02:00
parent 7d104b4266
commit 01ba98a820
24 changed files with 330 additions and 436 deletions

View file

@ -14,9 +14,12 @@
import Tr from "../Base/Tr.svelte"
import Translations from "../i18n/Translations"
import DotMenu from "../Base/DotMenu.svelte"
import type { Feature } from "geojson"
import { Store } from "../../Logic/UIEventSource"
export let image: Partial<ProvidedImage> & { id: string; url: string }
export let clss: string = undefined
export let nearbyFeatures: Feature[] | Store<Feature[]> = []
let isLoaded = new UIEventSource(false)
</script>
@ -28,7 +31,7 @@
<Loading />
</div>
{/if}
<ImagePreview {image} {isLoaded} />
<ImagePreview {image} {isLoaded} {nearbyFeatures} />
</div>
<DotMenu dotsPosition="top-0 left-0" dotsSize="w-8 h-8" hideBackground>