Map / scene transition logic + config
This commit is contained in:
25
config.js
Normal file
25
config.js
Normal file
@@ -0,0 +1,25 @@
|
||||
const theater1Popup = `
|
||||
<div class="text-center">
|
||||
<h1 class="fs-4">Teatro San Salvador, Venezia</h1>
|
||||
<button type="button" class="btn btn-outline-dark" id="salvador">Apri scena 3D</button>
|
||||
</div>
|
||||
`;
|
||||
|
||||
export const config = {
|
||||
markers : [
|
||||
{
|
||||
id : "salvador",
|
||||
label : "Teatro San Salvador, Venezia",
|
||||
popup: theater1Popup,
|
||||
coords: [45.4363, 12.3352],
|
||||
model: "teatro_san_salvador_20250926.gltf",
|
||||
pano: "defsky-grass.jpg",
|
||||
}
|
||||
],
|
||||
map : {
|
||||
center: [41.9028, 12.4964],
|
||||
initialZoom : 6,
|
||||
minZoom : 5,
|
||||
maxZoom : 15
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user