Fix absolute path in icon...

This commit is contained in:
Nicolò P 2024-11-15 10:51:38 +01:00
parent 3bf88b98d9
commit 69442ce7f7

View File

@ -108,7 +108,7 @@ GIS.initMap = async function (mapId, zoomLevel = this.INIT_ZOOM) {
let sitesMarkers = [];
let siteIcon = L.icon(
{
iconUrl: '/img/icons/siti.png',
iconUrl: 'img/icons/siti.png',
iconSize: [38, 58],
iconAnchor: [22, 57],
tooltipAnchor: [0, -46],