chore: automated housekeeping...

This commit is contained in:
Pieter Vander Vennet 2025-03-17 02:54:12 +01:00
parent 92352ed274
commit 535e36a006
68 changed files with 2734 additions and 382 deletions

View file

@ -151,7 +151,7 @@
const bottomRight = mlmap.unproject([rect.right, rect.bottom])
const bbox = new BBox([
[topLeft.lng, topLeft.lat],
[bottomRight.lng, bottomRight.lat]
[bottomRight.lng, bottomRight.lat],
])
state.visualFeedbackViewportBounds.setData(bbox)
}
@ -506,16 +506,31 @@
{#each theme.popups as popup}
{#if popup.condition.matchesProperties($metatags)}
<Popup shown={new UIEventSource(true)} dismissable={popup.dismissible}>
<TagRenderingAnswer slot="header" config={popup.title} {state}
tags={metatags}
layer={undefined}
selectedElement={({type: "Feature", properties: $metatags, geometry: {type: "Point", coordinates: [0,0]}})} />
<TagRenderingAnswer
slot="header"
config={popup.title}
{state}
tags={metatags}
layer={undefined}
selectedElement={{
type: "Feature",
properties: $metatags,
geometry: { type: "Point", coordinates: [0, 0] },
}}
/>
<div class="flex flex-col">
{#each popup.body as body}
<TagRenderingAnswer config={body} {state}
tags={metatags}
layer={undefined}
selectedElement={({type: "Feature", properties: $metatags, geometry: {type: "Point", coordinates: [0,0]}})} />
<TagRenderingAnswer
config={body}
{state}
tags={metatags}
layer={undefined}
selectedElement={{
type: "Feature",
properties: $metatags,
geometry: { type: "Point", coordinates: [0, 0] },
}}
/>
{/each}
<span class="subtle">{popup.id}</span>
</div>