Restructure to use separate scenes

Uses pseudo-router logic...
This commit is contained in:
2026-01-14 16:42:39 +01:00
parent 8c1da5e4e2
commit e85bd4f959
13 changed files with 307 additions and 206 deletions

View File

@@ -1,3 +1,5 @@
const BASE_URI = "/a/scaenae";
const theater1Popup = `
<div class="text-center">
<h1 class="fs-4">Teatro San Salvador, Venezia</h1>
@@ -30,24 +32,28 @@ export const config = {
{
id : "salvador",
label : "Teatro San Salvador, Venezia",
uri : `${BASE_URI}/scenes/salvador/`,
popup: theater1Popup,
coords: [45.4363, 12.3352],
model: "teatro_san_salvador_20250926.gltf",
pano: "pano/defsky-grass.jpg",
//pano: `${BASE_URI}/assets/pano/defsky-grass.jpg`,
pano: `pano/defsky-grass.jpg`,
},
{
id : "ssgp",
label : "Teatro Santi Giovanni e Paolo, Venezia",
uri : `${BASE_URI}/scenes/ssgp/`,
popup: theater2Popup,
coords: [45.4401, 12.3408],
model: "SSGP.glb",
pano: "pano/defsky-grass.jpg",
model: `SSGP.glb`,
//pano: `${BASE_URI}/assets/pano/defsky-grass.jpg`,
pano: `pano/defsky-grass.jpg`,
}
],
map : {
center: [43.570833, 12.140278],
initialZoom : 8,
center: [45.30833, 12.240278],
initialZoom : 12,
minZoom : 6,
maxZoom : 16
maxZoom : 18
}
}