From 72132e1353a37e3912ea715ebd459327df20850e Mon Sep 17 00:00:00 2001 From: Daniel Gilbers Date: Wed, 28 Feb 2024 18:56:52 +0100 Subject: [PATCH] fix images --- js/map.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/map.js b/js/map.js index 681fe537..a692b4e2 100644 --- a/js/map.js +++ b/js/map.js @@ -6,7 +6,7 @@ let edge // JSON File für Download let textFile = null // Map Image -const image = '/map/Zollstock-Modellv1.png' +const image = '/indoor-navigation/map/Zollstock-Modellv1.png' const boundy = 280 const boundx = 1366.6 const bounds = [[0, 0], [boundy, boundx]] @@ -175,7 +175,7 @@ function drawGraph () { let iconSize = 24 let iconAnchor = iconSize / 2 const positionDot = L.icon({ - iconUrl: '/img/position-dot.png', + iconUrl: '/indoor-navigation/img/position-dot.png', iconSize: [iconSize, iconSize], iconAnchor: [iconAnchor, iconAnchor] })