fix: More missing files commit

This commit is contained in:
Davide Passoni
2024-12-06 18:02:07 +01:00
parent db4e9870b0
commit 4278c6fa9a
6 changed files with 7 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ export class ExplosionMarker extends CustomMarker {
var el = document.createElement("div");
el.classList.add("ol-explosion-icon");
var img = document.createElement("img");
img.src = "/vite/images/markers/explosion.svg";
img.src = "/images/markers/explosion.svg";
img.onload = () => SVGInjector(img);
el.appendChild(img);
this.getElement()?.appendChild(el);

View File

@@ -28,7 +28,7 @@ export class SmokeMarker extends CustomMarker {
el.classList.add("ol-smoke-icon");
el.setAttribute("data-color", this.#color);
var img = document.createElement("img");
img.src = "/vite/images/markers/smoke.svg";
img.src = "/images/markers/smoke.svg";
img.onload = () => SVGInjector(img);
el.appendChild(img);
this.getElement()?.appendChild(el);