diff --git a/frontend/src/views/map/page.jsx b/frontend/src/views/map/page.jsx index ce2e015..46eb192 100644 --- a/frontend/src/views/map/page.jsx +++ b/frontend/src/views/map/page.jsx @@ -21,7 +21,7 @@ if (typeof window !== "undefined") { const getCategoryIcon = (category, heading = 0, size = [25, 25]) => { console.log(category); - const iconUrl = `/icons/${category || "default"}.svg`; + const iconUrl = `/icons/${category?.toLowerCase() || "default"}.svg`; // Create a rotated divIcon wrapper for the image const html = `