Added fullscreen mode to maps

This commit is contained in:
Frank Schubert
2024-07-25 14:25:29 +02:00
parent d18ecb8880
commit 210ba2e771
7 changed files with 45 additions and 2 deletions

View File

@@ -397,7 +397,7 @@
});
}
} else {
buildingMap = L.map('building-map').setView([<?=TT_PLACEHOLDER_GPS_LAT?>, <?=TT_PLACEHOLDER_GPS_LONG?>], 12);
buildingMap = L.map('building-map', {fullscreenControl: true}).setView([<?=TT_PLACEHOLDER_GPS_LAT?>, <?=TT_PLACEHOLDER_GPS_LONG?>], 12);
}
if(!(currentTileset in tileLayers)) {