Load all spherical photos + UI

This commit is contained in:
Nicolò P 2024-11-24 21:52:12 +01:00
parent 760fb3e960
commit bda52fc665
3 changed files with 12 additions and 3 deletions

View File

@ -20,6 +20,9 @@ a {
a:visited { a:visited {
color: var(--links-color); color: var(--links-color);
} }
.main.columns {
height: 95vh;
}
.main.credits { .main.credits {
width: 60vw; width: 60vw;
margin: 0 auto; margin: 0 auto;
@ -138,7 +141,8 @@ a:visited {
} }
/* Leaflef map container */ /* Leaflef map container */
#map { #map {
height: calc(100vh - 107px); /*height: calc(100vh - 107px);*/
height: 100%;
} }
#map-progress { #map-progress {

View File

@ -46,9 +46,14 @@
<button class="navbar-item button is-size-5 is-white" role="button" id="non-conserv"> <button class="navbar-item button is-size-5 is-white" role="button" id="non-conserv">
Beni non conservati Beni non conservati
</button> </button>
<button class="navbar-item button is-size-5 is-white" role="button" id="rinvenimenti"> <button class="navbar-item button is-size-5 is-white mr-3" role="button" id="rinvenimenti">
Rinvenimenti Rinvenimenti
</button> </button>
<button class="button is-outlined is-rounded is-link mr-4 mt-1" id="howto" title="Istruzioni">
<span class="icon is-large has-text-link">
<i class="fas fa-question fa-lg"></i>
</span>
</button>
</div> </div>
</nav> </nav>
<!-- TODO Loader --> <!-- TODO Loader -->

View File

@ -327,7 +327,7 @@ GIS.initLayers = async function(map) {
*/ */
GIS.toggleSpherical = async function(map) { GIS.toggleSpherical = async function(map) {
// TODO Create points layer // TODO Create points layer
const spherical = await this._fetchData('spherical/by/gis/gradola'); const spherical = await this._fetchData('spherical');
let sphereMarkers = []; let sphereMarkers = [];
const sPhoto = new SphericalPhoto(); const sPhoto = new SphericalPhoto();