WIP: GMA UI-Test

This commit is contained in:
ISA
2024-12-16 10:22:32 +01:00
parent c172c72028
commit 1abe72f209
4 changed files with 52 additions and 52 deletions

View File

@@ -2,7 +2,6 @@
import * as urls from "../config/urls.js";
// Definieren der grundlegenden Umgebungseinstellungen und Konfigurationen der Karte
const mapVersion = "0.5.3"; // Die Version der verwendeten Karte
const standardSideMenu = true; // Einstellung, ob ein standardmäßiges Seitenmenü verwendet wird
const fullSideMenu = false; // Einstellung, ob ein vollständiges Seitenmenü verwendet wird
@@ -50,7 +49,6 @@ if (typeof window !== "undefined") {
// Export der definierten Variablen und URLs
export {
mapVersion,
standardSideMenu,
fullSideMenu,
serverURL,

View File

@@ -15,6 +15,7 @@ if (typeof window !== "undefined") {
//OFFLINE_TILE_LAYER = "http://10.10.0.70:3000/mapTiles/{z}/{x}/{y}.png"; //Map von Talas_v5 Server
//OFFLINE_TILE_LAYER = "http://10.10.0.70/talas5/nodeMap/public/mapTiles/{z}/{x}/{y}.png"; //Map von Talas_v5 Server
OFFLINE_TILE_LAYER = `${originWithoutPort}/talas5/nodeMap/public/mapTiles/{z}/{x}/{y}.png`; //Map von Talas_v5 Server
console.log("OFFLINE_TILE_LAYER: ", OFFLINE_TILE_LAYER);
//OFFLINE_TILE_LAYER = `${originWithoutPort}:3000/mapTiles/{z}/{x}/{y}.png`;
//OFFLINE_TILE_LAYER = `https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png`;
MAP_TILES_LAYER = OFFLINE_TILE_LAYER; // Standardwert