{"id":3077,"date":"2025-11-05T06:47:14","date_gmt":"2025-11-05T06:47:14","guid":{"rendered":"https:\/\/sancristoforo.staging-itineraria.it\/map\/"},"modified":"2026-02-12T13:28:14","modified_gmt":"2026-02-12T13:28:14","slug":"map","status":"publish","type":"page","link":"https:\/\/sancristoforo.staging-itineraria.it\/en\/map\/","title":{"rendered":"Map"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"3077\" class=\"elementor elementor-3077 elementor-510\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-64f47ee e-con-full e-flex e-con e-parent\" data-id=\"64f47ee\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-064024a e-flex e-con-boxed e-con e-child\" data-id=\"064024a\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-27eb30b elementor-widget elementor-widget-ucaddon_side_border_heading\" data-id=\"27eb30b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"ucaddon_side_border_heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\n<!-- start Side Line Heading -->\n<style>\/* widget: Side Line Heading *\/\n\n#uc_side_border_heading_elementor_27eb30b\n{\n  display:flex;\n}\n\n#uc_side_border_heading_elementor_27eb30b .side_border_heading_title\n{\n  color:black;\n}\n\n#uc_side_border_heading_elementor_27eb30b .side_border_heading_subtitle\n{\n  line-height:1.5em;\n  color:gray;\n}\n#uc_side_border_heading_elementor_27eb30b .side_border_heading_line_holder{\nflex-shrink: 0;\n}\n\n#uc_side_border_heading_elementor_27eb30b .side_border_heading_line_spacer{\nflex-shrink: 0;\n}\n\n<\/style>\n\n<div id=\"uc_side_border_heading_elementor_27eb30b\">\n  <div class=\"side_border_heading_line_holder\"><div class=\"side_border_heading_line\" style=\"background-color:#365386;\"><\/div><\/div>\n  <div class=\"side_border_heading_line_spacer\"><\/div>\n  <div>\n    <div class=\"side_border_heading_title\"><\/div>\n    <div class=\"side_border_heading_subtitle\"><\/div>\n  <\/div>\n<\/div>\n<!-- end Side Line Heading -->\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-74bbae2 elementor-widget elementor-widget-shortcode\" data-id=\"74bbae2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t<link rel=\"stylesheet\" href=\"https:\/\/unpkg.com\/leaflet\/dist\/leaflet.css\" \/>\n\t<link rel=\"stylesheet\" href=\"https:\/\/unpkg.com\/leaflet.fullscreen@1.6.0\/Control.FullScreen.css\" \/>\n\t<script src=\"https:\/\/unpkg.com\/leaflet\/dist\/leaflet.js\"><\/script>\n\t<script src=\"https:\/\/unpkg.com\/leaflet.fullscreen@1.6.0\/Control.FullScreen.js\"><\/script>\n\t<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/leaflet-gpx\/1.5.0\/gpx.min.js\"><\/script>\n\n\t<button id=\"toggle-legend\" class=\"mobile-only\"><img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/12\/ico_filtri_2.png\" width=\"20\"><\/button>\n\t<button id=\"geolocate-button\" class=\"mobile-only\"><img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/07\/icon-segnaposto.png\" width=\"20\"><\/button>\n\t<!--div id=\"zoom-label\">Ingrandisci per visualizzare gli itinerari locali<\/div-->\n\n\t<!-- Box filtro visibile sempre su desktop e apribile da mobile -->\n\t<div id=\"map-legend\" class=\"leaflet-gpx-legend collapsible\">\n\t  <div class=\"titleFiltroMappa\">Filter:<\/div>\n\t  <!--label for=\"filtro-piedi\"><input type=\"checkbox\" id=\"filtro-piedi\" name=\"filtro-piedi\" value=\"piedi\" class=\"filtro-checkbox\" checked> A piedi<\/label><br>\n\t  <label for=\"filtro-bici\"><input type=\"checkbox\" id=\"filtro-bici\" name=\"filtro-bici\" value=\"bici\" class=\"filtro-checkbox\" checked> In bici<\/label-->\n\t\t<label class=\"filtro-opzione\">\n\t\t  <input type=\"checkbox\" id=\"filtro-piedi\" name=\"filtro-piedi\" value=\"piedi\" class=\"filtro-checkbox\" checked>\n\t\t  On foot&nbsp;<span class=\"color-line\" style=\"background-color: #1D6B9B;\"><\/span> <!-- Itinerari a piedi -->\n\t\t<\/label>\n\t\t<label class=\"filtro-opzione\">\n\t\t  <input type=\"checkbox\" id=\"filtro-bici\" name=\"filtro-bici\" value=\"bici\" class=\"filtro-checkbox\" checked>\n\t\t  By bicycle&nbsp;<span class=\"color-line\" style=\"background-color: #b12944;\"><\/span> <!-- Itinerari in bici -->\n\t\t<\/label>\n\t\t<label class=\"filtro-opzione\">\n\t\t  <input type=\"checkbox\" id=\"filtro-poi\" name=\"filtro-poi\" value=\"poi\" class=\"filtro-checkbox\"> <!-- Attrattive -->\n\t\t  Points of interest\t\t<\/label>\n\t\t<label class=\"filtro-opzione\">\n\t\t  <input type=\"checkbox\" id=\"filtro-strutture\" name=\"filtro-strutture\" value=\"strutture\" class=\"filtro-checkbox\"> <!-- Alloggi -->\n\t\t  Accomodations\t\t<\/label>\n\t\t<label class=\"filtro-opzione\">\n\t\t  <input type=\"checkbox\" id=\"filtro-fontane\" name=\"filtro-fontane\" value=\"fontane\" class=\"filtro-checkbox\"> <!-- Fontanelle -->\n\t\t  Fountains\t\t<\/label>\n\t<\/div>\n\t\t\n\t<div id=\"map-loader\" class=\"map-loader\">Caricamento in corso\u2026<\/div>\n\t<div id=\"mapBici\" style=\"height: 600px\"><\/div>\n\n\t<script>\n\tconst gpxLayers = {};\n\tconst originalColors = {};\n\tconst layerCategories = {};\n\tconst poiLayers = {};\n\tconst strutLayers = {};\n\tconst fontanaLayers = {};\n\tconst boundsGroup = L.latLngBounds();\n\tlet loadedCount = 0;\n\tlet expectedCount = 0;\n\tlet initialBoundsCoords = [];\n\n\tconst map = L.map('mapBici', {\n\t  fullscreenControl: true,\n\t  fullscreenControlOptions: {\n\t\tposition: 'topright'\n\t  },\n\t  scrollWheelZoom: false\n\t}).setView([42.5, 12.5], 5);\n\t\/\/L.tileLayer('https:\/\/{s}.tile.openstreetmap.org\/{z}\/{x}\/{y}.png').addTo(map);\n\tL.tileLayer('https:\/\/{s}.tile.openstreetmap.org\/{z}\/{x}\/{y}.png', {\n\t\tmaxZoom: 19,\n\t\tattribution: '&copy; <a href=\"https:\/\/www.openstreetmap.org\/copyright\">OpenStreetMap<\/a>'\n\t}).addTo(map);\n\n\t\/\/ Geolocalizzazione da mobile con marker se subito disponibile\n\tif (window.innerWidth <= 768 && navigator.geolocation) {\n\t  navigator.geolocation.getCurrentPosition(function(position) {\n\t\tconst lat = position.coords.latitude;\n\t\tconst lng = position.coords.longitude;\n\t\tconst userMarker = L.circleMarker([lat, lng], {\n\t\t  radius: 6,\n\t\t  fillColor: '#3388ff',\n\t\t  color: '#fff',\n\t\t  weight: 2,\n\t\t  opacity: 1,\n\t\t  fillOpacity: 0.8\n\t\t}).addTo(map).bindPopup(\"Sei qui\");\n\t  });\n\t}\n\n\t\/\/ Pulsante \"\ud83d\udccd La mia posizione\"\n\tdocument.getElementById('geolocate-button').addEventListener('click', function () {\n\t  if (navigator.geolocation) {\n\t\tnavigator.geolocation.getCurrentPosition(function (position) {\n\t\t  const lat = position.coords.latitude;\n\t\t  const lng = position.coords.longitude;\n\t\t  const userMarker = L.circleMarker([lat, lng], {\n\t\t\tradius: 6,\n\t\t\tfillColor: '#3388ff',\n\t\t\tcolor: '#fff',\n\t\t\tweight: 2,\n\t\t\topacity: 1,\n\t\t\tfillOpacity: 0.8\n\t\t  }).addTo(map).bindPopup(\"Sei qui\").openPopup();\n\t\t  map.setView([lat, lng], 10);\n\t\t});\n\t  } else {\n\t\talert(\"Geolocalizzazione non supportata dal browser.\");\n\t  }\n\t});\n\t\tdocument.getElementById('map-loader').classList.remove('hidden');\n\t<\/script>\n\n\t<script>expectedCount = 33;<\/script>\t<script>\n\t(function() {\n\t  const title = \"Val Meduna Route &#8211; Stage 1 \\u2013 Detour Tridis &#8211; Campone\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/Tridis-Campone.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/val-meduna-route-stage-1-detour-tridis-campone\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>Valtramontina offers a scenic route through woodland with views of Lake Redona, following ancient paths through small, abandoned hamlets brimming with stories and interesting facts that are sure to amaze walkers setting out on the trail.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Val Meduna Route &#8211; Stage 1 &#8211; Detour Meduno &#8211; Campone\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/Meduno-Campone.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/val-meduna-route-stage-1-detour-meduno-campone\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>A gentle climb is followed by a mainly downhill stretch, passing very few houses, and finally the Chiarz\\u00f2 stream, which accompanies you all the way to the village of Campone \\u2013 an opportunity to make the most of nature\\u2019s beneficial and free gifts, the silence and the tranquillity.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Val Meduna Route &#8211; Stage 3 &#8211; Detour to the Military Cemetery\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/cimitero.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/val-meduna-route-stage-3-detour-to-the-military-cemetery\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>In Pradis, a short circular detour of just a few kilometres takes you to the Val da Ros military cemetery, established to lay to rest the remains of the Italian and German soldiers who fell in the Battle of Pradis in November 1917, following the defeat at Caporetto, when the entire Friuli region \\u2013 including its mountains \\u2013 was severely affected by the Austro-German offensive.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Val Meduna Route &#8211; Stage 3 &#8211; T\\u00e0mar -Campone &#8211; Clauzetto\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/3-Tamar-Campone-Clauzetto.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/val-meduna-route-stage-3-tamar-campone-clauzetto\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>The route begins in T\\u00e0mar, surrounded by woodland, before descending towards Campone, a peaceful village in the Val Meduna, and ends in Clauzetto, offering panoramic views of the Friulian plain, the Gulf of Trieste and Istria.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Val Meduna Route &#8211; Stage 2 &#8211; Detour to T\\u00e0mar\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/tamar.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/val-meduna-route-stage-2-detour-to-tamar\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>Another short detour, with a slight climb, links two streams in the valley: the Tarcen\\u00f2 and the Chiarz\\u00f2.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Val Meduna Route &#8211; Stage 2 &#8211; Detour to the emerald pools\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/smeraldine.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/val-meduna-route-stage-2-detour-to-the-emerald-pools\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>A short but intense walk will bring you face to face with one of this valley\\u2019s treasures.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Val Meduna Route &#8211; Stage 2 &#8211; Tramonti di Mezzo &#8211; P\\u00e0lcoda -T\\u00e0mar\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/2-Tramonti-di-Sopra-Tramonti-di-Mezzo-Palcoda-Tamar.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/val-meduna-route-stage-2-tramonti-di-mezzo-palcoda-tamar\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>Perhaps the most challenging stage, yet one that offers a truly unique experience, winding through the ancient hamlets of Palcoda and T\\u00e0mar in the wild Valtramontina valley to discover its natural beauty and history.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Val Meduna Route &#8211; Stage 1 \\u2013 Detour to Mount Valinis\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/3.1.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/val-meduna-route-stage-1-detour-to-mount-valinis\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>This detour is a walk with a relatively gentle climb, designed to take you to the highest point of the entire route, on Monte Valinis.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Val Meduna Route &#8211; Stage 1 &#8211; from Meduno to Tramonti di Sopra\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/1-Meduno-Tramonti-di-Sopra.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/val-meduna-route-stage-1-from-meduno-to-tramonti-di-sopra\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>A picturesque route through the countryside of the Val Meduna follows the course of the Chiarz\\u00f2 stream, offering a pleasant walk through woodland and tranquillity.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Magredi Route &#8211; Stage 6 &#8211; Vivaro &#8211; Cordenons \\u2013 Pordenone\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/2-06-Vivaro-Pordenone.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/magredi-route-stage-6-vivaro-cordenons-pordenone\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>Past Vivaro, along a section of the nature trail \\u201cPierditi intal patus\\u201d (\\u201cLose yourself in the meadows\\u201d in Friulian) that crosses the enchanting wilderness of the Magredi, you reach the Cellina streambed and return to Cordenons.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Magredi Route &#8211; Stage 5 &#8211; from Spilimbergo to Vivaro\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/8-01-Spilimbergo-Vivaro.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/magredi-route-stage-5-from-spilimbergo-to-vivaro\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>In Spilimbergo you will find it natural to take a slow walk to admire its ancient streets, where the legacy of the Middle Ages and the Renaissance tells a tale of spirituality.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Magredi Route &#8211; Stage 4 &#8211; from Solimbergo to Spilimbergo\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/6-02-Solimbergo-Spilimbergo.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/magredi-route-stage-4-from-solimbergo-to-spilimbergo\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>From the hills of Solimbergo you descend to the plain towards Sequals, the birthplace of boxer Primo Carnera, one of the most famous Friulians to have found fame and fortune outside this once poor region where emigration used to be the norm.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Magredi Route &#8211; Stage 3 \\u2013 from Maniago to Solimbergo\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/6-01-Maniago-Solimbergo.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/magredi-route-stage-3-from-maniago-to-solimbergo\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>Take the time to visit Maniago, the \\u2018city of knives\\u2019.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Magredi Route &#8211; Stage 2 &#8211; Detour to Vajont\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/7-05-Digressione-Vajont.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/magredi-route-stage-2-detour-to-vajont\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>Another short detour will take you to the small town of Vajont, which takes its name from the infamous dam in the Friulian Dolomites that collapsed decades ago.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Magredi Route &#8211; Stage 2 &#8211; Detour to San Leonardo Valcellina\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/Digressione-San-Leonardo.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/magredi-route-stage-2-detour-to-san-leonardo-valcellina\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>A short, effortless detour leads to the hamlet of San Leonardo Valcellina, where a special sculpture tells the story of the local community.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Magredi Route &#8211; Stage 2 \\u2013 Detour to Ponte Giulio\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/Variante-ponte-Giulio.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/magredi-route-stage-2-detour-to-ponte-giulio\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>This short detour will allow you to widen your vision of our territory.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Magredi Route &#8211; Stage 2 &#8211; from San Quirino to Maniago\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/7-02-San-Quirino-Maniago-libero-Maniago-centro.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/magredi-route-stage-2-from-san-quirino-to-maniago\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>From San Quirino your journey continues towards the mountains, that can be seen in the distance from the very beginning of this route.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Magredi Route &#8211; Stage 1 \\u2013 Detour \\u2013 Loop path to Cordenons Springs\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/Digressione-risorgive-Cordenons.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/magredi-route-stage-1-detour-loop-path-to-cordenons-springs\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>A short, effortless detour with no hills to climb will take you to an enchanted place, the groundwater springs (\\u2018risorgive\\u2019) of Cordenons.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Magredi Route &#8211; Stage 1 &#8211; Pordenone Villanova &#8211; Cordenons &#8211; San Quirino\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/7-01-Pordenone-San-Quirino.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/magredi-route-stage-1-pordenone-villanova-cordenons-san-quirino\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>This route begins in the town district of Villanova, on the banks of the Noncello river, a place still full of echoes of a rural past. It is fitting that your journey starts in front of the imposing fresco of St Christopher inside the church of Sant\\u2019Ulderico, considered to be an early work by Giovanni Antonio de\\u2019 Sacchis, the painter known as \\u2018il Pordenone\\u2019. <\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Pedemontana Route &#8211; Stage 9 &#8211; from Valeriano to Spilimbergo\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/5-03-Valeriano-Spilimbergo.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/pedemontana-route-stage-9-from-valeriano-to-spilimbergo\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>This is the last short stage of this route, a slow descent.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Pedemontana Route &#8211; Stage 8 &#8211; Detour to the Germanic Memorial in Pinzano\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/9.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/pedemontana-route-stage-8-detour-to-the-germanic-memorial-in-pinzano\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>A short detour takes you to the Germanic Memorial in Pinzano, a walk worth taking for the panoramic view it offers. The unfinished mausoleum, built to house the remains of German and Austrian soldiers from World War I, is also a vantage point from which to marvel at the lush nature that surrounds you: the wild Tagliamento river, the mountains and hills, the villages and towns that tell a story of peace in contrast with the memories of war. <\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Pedemontana Route &#8211; Stage 8 &#8211; from Anduins to Valeriano\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/5-02-Anduins-Valeriano.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/pedemontana-route-stage-8-from-anduins-to-valeriano\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>From here, start descending into the plain formed by the numerous rivers and streams you have crossed. In a wild landscape, discover the Arzino stream, where you will find bends and beaches that have become popular places to rest and swim <\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Pedemontana Route &#8211; Stage 7 &#8211; Detour to Vito-Pontaiba\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/8.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/pedemontana-route-stage-7-detour-to-vito-pontaiba\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>Instead of going on to Anduins, from Vito d\\u2019Asio you can go down to the plain on a different path, following the mountain and passing through the half-abandoned hamlet of Celante di Vito d\\u2019Asio, that not so long ago was known as the \\u201corchard of Friuli\\u201d, once a rich area of fruit and vegetable production, much appreciated throughout the plain, and now a dense woodland, especially in summer.<\\\/p>\\n<p>\\u00a0<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Pedemontana Route &#8211; Stage 7 &#8211; from Paludea to Anduins\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/4_5-01-Paludea-Anduins.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/pedemontana-route-stage-7-from-paludea-to-anduins\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>This is a beautiful stage with ups and downs, through woods and old sleepy hamlets, such as Celante di Castelnuovo, high up until Clauzetto, the \\u201cbalcony of Friuli\\u201d, from where you can see as far as the Adriatic Sea.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Pedemontana Route &#8211; Stage 6 &#8211; Detour to Almadis\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/7.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/pedemontana-route-stage-6-detour-to-almadis\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>A short detour with a gentle climb will allow you to visit the old dairy in Almadis, a former meeting place where a simple resource like milk was once transformed into something more precious.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Pedemontana Route &#8211; Stage 6 &#8211; from Meduno to Paludea\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/1-06-Meduno-Paludea.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/pedemontana-route-stage-6-from-meduno-to-paludea\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>After Meduno, the road descends back to the fertile plain, with a horizon that suddenly opens up to hills and mountains, such as Mount Valinis, known by hang-gliding and paragliding enthusiasts from all over the world.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Pedemontana Route &#8211; Stage 5 &#8211; from Maniago to Meduno\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/3-01-Maniago-Meduno.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/pedemontana-route-stage-5-from-maniago-to-meduno\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>Stop at Maniago, known as the \\u2018city of knives\\u2019 because the waters of the Colvera stream together with the local craftsmanship have given life to numerous forges since the Middle Ages, and then to industries that are still flourishing today.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Pedemontana Route &#8211; Stage 4 \\u2013 Detour to Gravedai-Maniago\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/PE625A1.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/pedemontana-route-stage-4-detour-to-gravedai-maniago\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>This detour will allow you to reach Maniago while enjoying the genuine nature of the Pedemontana.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Pedemontana Route &#8211; Stage 4 \\u2013 Detour \\u2013 Loop path to Grizzo\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/PE7F5A1.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/pedemontana-route-stage-4-detour-loop-path-to-grizzo\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>This short loop path will take you to a landmark from another era, a fascinating blend of functionality and efficiency on the one hand and beauty on the other, the result of which is still a source of amazement.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Pedemontana Route &#8211; Stage 4 &#8211; from Malnisio to Maniago\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/2-02-Malnisio-Maniago.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/pedemontana-route-stage-4-from-malnisio-to-maniago\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>Stroll through the old town of Montereale, and stop to admire the frescoes inside the church of St Rocco, another patron saint of travellers and pilgrims. The church is always open.<\\\/p>\\n<p>\\u00a0<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Pedemontana Route &#8211; Stage 3 &#8211; from Aviano to Malnisio\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/2-01-Aviano-Malnisio.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/pedemontana-route-stage-3-from-aviano-to-malnisio\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>Past the centre of Aviano, with its Duomo dedicated to San Zenone and rich in paintings, you will find yourself once again on the hills of the Pedemontana.<\\\/p>\\n<p>\\u00a0<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Pedemontana Route &#8211; Stage 2 &#8211; from Polcenigo to Aviano\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/1-02-Polcenigo-Aviano.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/pedemontana-route-stage-2-from-polcenigo-to-aviano\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>As you depart the old-town flair of Polcenigo, you can enjoy the shade of the enchanting Gor trail, one of the many small natural treasures you will encounter along the way, a path full of trees, water and sudden suggestions, where the modern world\\u2019s worries and haste are left at the door.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t  const title = \"Pedemontana Route &#8211; Stage 1 &#8211; from Steven\\u00e0 to Polcenigo\";\n\t  const url = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/1-01-Stevena-Polcenigo.gpx\";\n\t  const color = \"#1D6B9B\";\n\t  const link = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/itinerario\\\/pedemontana-route-stage-1-from-stevena-to-polcenigo\\\/\";\n\t  const category = \"piedi\";\n\t  const descrizione = \"<p>Right at the beginning of the route, our territory reveals two of its treasures, relics of a thousand-year history and jewels of biodiversity at once: the <strong>UNESCO World Heritage site Pal\\u00f9<\\\/strong> by the Livenza river, and the <strong>San Floriano Rural Nature Park<\\\/strong>.<\\\/p>\\n\";\n\t\t\n\t  var weightTrace = 4;\n\t  if (window.innerWidth <= 768){\n\t  \t  var weightTrace = 4;\n\t  }\n\t  const layer = new L.GPX(url, {\n\t\tasync: true,\n\t\tpolyline_options: {\n\t\t  color: color,\n\t\t  weight: weightTrace,\n\t\t  opacity: 0.9\n\t\t},\n\t\tmarker_options: {\n\t\t  startIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  endIcon: new L.Icon({ iconUrl: 'img.jpg', iconSize: [0, 0] }),\n\t\t  shadowUrl: ''\n\t\t}\n\t  });\n\n\t  layer.on('loaded', function(e) {\n\t\tconst bounds = e.target.getBounds();\n\t\tboundsGroup.extend(bounds);\n\t\tinitialBoundsCoords.push(bounds);\n\t\tgpxLayers[title] = layer;\n\t\toriginalColors[title] = color;\n\t\tlayerCategories[title] = category;\n\t\tlayer.bindPopup('<strong>'+title+'<\/strong><br><em>'+descrizione+'<\/em><br><a href=\"'+link+'\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\tloadedCount++;\n\t\t  \n\t\tif (loadedCount === expectedCount && initialBoundsCoords.length > 0) {\n\t\t\tmap.invalidateSize();\n\t\t  \tconst combinedBounds = initialBoundsCoords.reduce((acc, b) => acc.extend(b), L.latLngBounds());\n\t\t  \tmap.fitBounds(combinedBounds);\n\t\t  \tmap._initialBounds = combinedBounds;\n\t\t    setupFiltroMezzo();\n\t\t  \tdocument.getElementById('map-loader').classList.add('hidden');\n\t\t}\n\t  });\n\t\t\n\t\tlet activeLayer = null;\n\tlayer.on('mouseover', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tl.setStyle({\n\t\t\t\tcolor: '#E9782B',\n\t\t\t\tweight: 5,\n\t\t\t\topacity: 1\n\t\t\t});\n\t\t\t\/\/e.target.openPopup(e.latlng);\n\t\t}\n\t});\n\n\tlayer.on('mouseout', function(e) {\n\t\tconst l = e.target;\n\t\tif (l !== activeLayer) {\n\t\t\tconst title = Object.keys(gpxLayers).find(key => gpxLayers[key] === l);\n\t\t\tconst originalColor = originalColors[title] || '#b12944';\n\t\t\tl.setStyle({\n\t\t\t\tcolor: originalColor,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t});\n\t\t\t\/\/e.target.closePopup();\n\t\t}\n\t});\n\t\t\n\t\tlayer.on('click', function(e) {\n\t\t  const clicked = e.target;\n\n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\t\/*\n\t\t  \/\/ Ripristina la traccia attiva precedente, se esiste\n\t\t  if (activeLayer && activeLayer !== clicked) {\n\t\t\tconst prevTitle = Object.keys(gpxLayers).find(key => gpxLayers[key] === activeLayer);\n\t\t\tconst prevColor = originalColors[prevTitle] || '#3388ff';\n\t\t\tactiveLayer.setStyle({\n\t\t\t  color: prevColor,\n\t\t\t  weight: 4,\n\t\t\t  opacity: 0.9\n\t\t\t});\n\n\t\t  }\n\n\t\t  \/\/ Imposta come nuova traccia attiva\n\t\t  activeLayer = clicked;\n\t\t  *\/\n\t\t  clicked.setStyle({\n\t\t\tcolor: '#ffcc00',\n\t\t\tweight: 6,\n\t\t\topacity: 1\n\t\t  });\n\n\t\t  \/\/ \ud83d\udc49 Apri manualmente il popup\n\t\t\te.target.openPopup(e.latlng);\n  \t\t\tactiveLayer = clicked;\n\t\t});\n\t\t\n\t  layer.addTo(map);\n\t\tmap.on('click', function(e) {\n\t\t  const { latlng } = e;\n\n\t\t  \/\/ Se il click NON \u00e8 avvenuto su un layer GPX\n\t\t  \/*\n\t\t  let clickedOnLayer = false;\n\t\t  map.eachLayer(function(l) {\n\t\t\tif (l instanceof L.Polyline && l !== activeLayer && l.getBounds().contains(latlng)) {\n\t\t\t  clickedOnLayer = true;\n\t\t\t}\n\t\t  });\n*\/\n\t\t  \/\/if (!clickedOnLayer) {\n\t\t\t\/\/ Ripristina stili \n\t\t\tObject.entries(gpxLayers).forEach(([name, l]) => {\n\t\t\t  const original = originalColors[name] || '#b12944';\n\t\t\t  l.setStyle({\n\t\t\t\tcolor: original,\n\t\t\t\tweight: weightTrace,\n\t\t\t\topacity: 0.9\n\t\t\t  });\n\t\t\t  l.closePopup();\n\t\t\t});\n\t\t\tactiveLayer = null;\n\t\t  \/\/}\n\t\t});\n\t\t\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1113242;\n\t\tconst lon      = 12.8983218;\n\t\tconst title    = \"Historical center Spilimbergo\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/historical-center-spilimbergo\\\/\";\n\t\tconst categoria = \"historical-centers\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/centro-statico.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1624553;\n\t\tconst lon      = 12.890917;\n\t\tconst title    = \"Villa Savorgnan\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/villa-savorgnan\\\/\";\n\t\tconst categoria = \"historic-buildings-2\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/beni-culturali.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.0510505;\n\t\tconst lon      = 12.5640932;\n\t\tconst title    = \"Villa Menegozzi Brazzoduro now Carraro\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/villa-menegozzi-brazzoduro-now-carraro\\\/\";\n\t\tconst categoria = \"historic-buildings-2\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/beni-culturali.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 45.9658926;\n\t\tconst lon      = 12.4350351;\n\t\tconst title    = \"Villa Frova\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/villa-frova\\\/\";\n\t\tconst categoria = \"historic-buildings-2\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/beni-culturali.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2179986;\n\t\tconst lon      = 12.9562272;\n\t\tconst title    = \"Arzino Stream\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/arzino-stream\\\/\";\n\t\tconst categoria = \"parks-and-nature\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/parchi-natura.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.0398994;\n\t\tconst lon      = 12.4968591;\n\t\tconst title    = \"Gorgazzo&#8217;s Spring\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/gorgazzo-spring\\\/\";\n\t\tconst categoria = \"parks-and-nature\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/parchi-natura.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.0231016;\n\t\tconst lon      = 12.5002742;\n\t\tconst title    = \"San Floriano&#8217;s Rural Park\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/san-floriano-rural-park\\\/\";\n\t\tconst categoria = \"parks-and-nature\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/parchi-natura.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.0211056;\n\t\tconst lon      = 12.4845771;\n\t\tconst title    = \"Palu del Livenza &#8211; Unesco Site\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/palu-del-livenza-unesco-site\\\/\";\n\t\tconst categoria = \"parks-and-nature\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/parchi-natura.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1532528;\n\t\tconst lon      = 12.6586616;\n\t\tconst title    = \"Oratory of St. Florian\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/oratory-of-st-florian\\\/\";\n\t\tconst categoria = \"historic-buildings-2\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/beni-culturali.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2457701;\n\t\tconst lon      = 12.8871597;\n\t\tconst title    = \"Pradis Caves\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/pradis-caves\\\/\";\n\t\tconst categoria = \"parks-and-nature\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/parchi-natura.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1847356;\n\t\tconst lon      = 12.9569417;\n\t\tconst title    = \"Greto del Tagliamento\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/greto-del-tagliamento\\\/\";\n\t\tconst categoria = \"parks-and-nature\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/parchi-natura.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1718047;\n\t\tconst lon      = 12.656152;\n\t\tconst title    = \"Ravedis Dam\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/ravedis-dam\\\/\";\n\t\tconst categoria = \"parks-and-nature\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/parchi-natura.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2164395;\n\t\tconst lon      = 12.7077251;\n\t\tconst title    = \"Village of Poffabro\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/village-of-poffabro\\\/\";\n\t\tconst categoria = \"historical-centers\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/centro-statico.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2014266;\n\t\tconst lon      = 12.8283524;\n\t\tconst title    = \"Village of Toppo\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/village-of-toppo\\\/\";\n\t\tconst categoria = \"historical-centers\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/centro-statico.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.0694693;\n\t\tconst lon      = 12.5882156;\n\t\tconst title    = \"Aviano, Old Town\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/aviano-old-town\\\/\";\n\t\tconst categoria = \"historical-centers\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/centro-statico.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2347997;\n\t\tconst lon      = 12.8002039;\n\t\tconst title    = \"Mount Valinis Landing Field\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/mount-valinis-landing-field\\\/\";\n\t\tconst categoria = \"parks-and-nature\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/parchi-natura.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.0490529;\n\t\tconst lon      = 12.5636428;\n\t\tconst title    = \"Aviano Castle\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/aviano-castle\\\/\";\n\t\tconst categoria = \"historic-buildings-2\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/beni-culturali.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 45.9813755;\n\t\tconst lon      = 12.4489582;\n\t\tconst title    = \"Caneva Castle\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/caneva-castle\\\/\";\n\t\tconst categoria = \"historic-buildings-2\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/beni-culturali.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1844169;\n\t\tconst lon      = 12.946699;\n\t\tconst title    = \"Pinzano al Tagliamento Castle\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/pinzano-al-tagliamento-castle\\\/\";\n\t\tconst categoria = \"historic-buildings-2\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/beni-culturali.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.0313681;\n\t\tconst lon      = 12.4997223;\n\t\tconst title    = \"Polcenigo Castle\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/polcenigo-castle\\\/\";\n\t\tconst categoria = \"historic-buildings-2\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/beni-culturali.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1106582;\n\t\tconst lon      = 12.9061409;\n\t\tconst title    = \"Spilimbergo Castle\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/spilimbergo-castle\\\/\";\n\t\tconst categoria = \"historic-buildings-2\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/beni-culturali.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1649294;\n\t\tconst lon      = 12.7067279;\n\t\tconst title    = \"Maniago Historical Center\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/maniago-historical-center\\\/\";\n\t\tconst categoria = \"historical-centers\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/centro-statico.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.0369215;\n\t\tconst lon      = 12.4974467;\n\t\tconst title    = \"Historic Center of Polcenigo\";\n\t\tconst link_poi = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/point-of-interest\\\/historic-center-of-polcenigo\\\/\";\n\t\tconst categoria = \"historical-centers\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/centro-statico.png\";\n\n\n\t\tconst poiIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: poiIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_poi + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tpoiLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.0805029;\n\t\tconst lon      = 12.7803216;\n\t\tconst title    = \"Vivaro &#8211; Gelindo dei Magredi\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/vivaro-gelindo-dei-magredi\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.0782302;\n\t\tconst lon      = 12.7768066;\n\t\tconst title    = \"Vivaro &#8211; Albergo Diffuso Magredi Vivaro\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/vivaro-albergo-diffuso-magredi-vivaro\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.233329;\n\t\tconst lon      = 12.9580652;\n\t\tconst title    = \"Vito D&#8217;Asio &#8211; Albergo alla Posta\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/vito-dasio-albergo-alla-posta\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2014266;\n\t\tconst lon      = 12.8283524;\n\t\tconst title    = \"Travesio &#8211; OFFICE IAT TOPPO OF TRAVESIO\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/travesio-office-iat-toppo-of-travesio\\\/\";\n\t\tconst categoria = \"default\";\n    \tconst iconaUrl  = \"\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/poi-mappa.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2014676;\n\t\tconst lon      = 12.8307009;\n\t\tconst title    = \"Travesio &#8211; Verdi Colline Da Cesco Pizzeria Restaurant\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/travesio-verdi-colline-da-cesco-pizzeria-restaurant\\\/\";\n\t\tconst categoria = \"where-to-eat\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/ristoro.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2053037;\n\t\tconst lon      = 12.8185656;\n\t\tconst title    = \"Travesio &#8211; The Valinis Kiosk\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/travesio-the-valinis-kiosk\\\/\";\n\t\tconst categoria = \"where-to-eat\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/ristoro.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2016736;\n\t\tconst lon      = 12.8250843;\n\t\tconst title    = \"Travesio &#8211; Guesthouse Al Castello\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/travesio-guesthouse-al-castello\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2602561;\n\t\tconst lon      = 12.8316698;\n\t\tconst title    = \"Tramonti di Sotto &#8211; Terrazza Ammare di Mattiazzo Elisabetta\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/tramonti-di-sotto-terrazza-ammare-di-mattiazzo-elisabetta\\\/\";\n\t\tconst categoria = \"where-to-eat\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/ristoro.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2857642;\n\t\tconst lon      = 12.795819;\n\t\tconst title    = \"Tramonti di Sotto &#8211; La Butega di Beacco Cinzia\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/tramonti-di-sotto-la-butega-di-beacco-cinzia\\\/\";\n\t\tconst categoria = \"local-products\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/vendita-agroalimentare-diretta.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2848243;\n\t\tconst lon      = 12.7953691;\n\t\tconst title    = \"Tramonti di Sotto &#8211; Antica Corte\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/tramonti-di-sotto-antica-corte\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2586334;\n\t\tconst lon      = 12.7575313;\n\t\tconst title    = \"Tramonti di Sotto &#8211; Hotel Wellness da Febo\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/tramonti-di-sotto-hotel-wellness-da-febo\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.284677;\n\t\tconst lon      = 12.795617;\n\t\tconst title    = \"Tramonti di Sotto &#8211; Albergo Diffuso Traimonti\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/tramonti-di-sotto-albergo-diffuso-traimonti\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.3094706;\n\t\tconst lon      = 12.7910787;\n\t\tconst title    = \"Tramonti di Sopra &#8211; UFFICIO IAT TRAMONTI DI SOPRA\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/tramonti-di-sopra-ufficio-iat-tramonti-di-sopra\\\/\";\n\t\tconst categoria = \"default\";\n    \tconst iconaUrl  = \"\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/poi-mappa.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.243363;\n\t\tconst lon      = 12.7492326;\n\t\tconst title    = \"Tramonti di Sopra &#8211; Locanda al Lago\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/tramonti-di-sopra-locanda-al-lago\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.3025483;\n\t\tconst lon      = 12.7758051;\n\t\tconst title    = \"Tramonti di Sopra &#8211; Borgo Titol\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/tramonti-di-sopra-borgo-titol\\\/\";\n\t\tconst categoria = \"local-products\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/vendita-agroalimentare-diretta.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.112891;\n\t\tconst lon      = 12.9010965;\n\t\tconst title    = \"Spilimbergo &#8211; Venier L&#8217;Artedolce\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/spilimbergo-venier-lartedolce\\\/\";\n\t\tconst categoria = \"where-to-eat\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/ristoro.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1108071;\n\t\tconst lon      = 12.9047605;\n\t\tconst title    = \"Spilimbergo &#8211; IAT OFFICE SPILIMBERGO\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/spilimbergo-iat-office-spilimbergo\\\/\";\n\t\tconst categoria = \"default\";\n    \tconst iconaUrl  = \"\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/poi-mappa.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1117706;\n\t\tconst lon      = 12.900239;\n\t\tconst title    = \"Spilimbergo &#8211; Trattoria Tre Corone\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/spilimbergo-trattoria-tre-corone\\\/\";\n\t\tconst categoria = \"where-to-eat\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/ristoro.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1303102;\n\t\tconst lon      = 12.9010114;\n\t\tconst title    = \"Spilimbergo &#8211; Trattoria Donolo\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/spilimbergo-trattoria-donolo\\\/\";\n\t\tconst categoria = \"where-to-eat\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/ristoro.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1098901;\n\t\tconst lon      = 12.9002315;\n\t\tconst title    = \"Spilimbergo &#8211; Sports Space\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/spilimbergo-sports-space\\\/\";\n\t\tconst categoria = \"default\";\n    \tconst iconaUrl  = \"\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/poi-mappa.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1293945;\n\t\tconst lon      = 12.9009504;\n\t\tconst title    = \"Spilimbergo &#8211; Restaurant Pizzeria &#8220;Ai Pestons&#8221;\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/spilimbergo-restaurant-pizzeria-ai-pestons\\\/\";\n\t\tconst categoria = \"where-to-eat\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/ristoro.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1104611;\n\t\tconst lon      = 12.9063222;\n\t\tconst title    = \"Spilimbergo &#8211; &#8220;La Torre&#8221; Restaurant\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/spilimbergo-la-torre-restaurant\\\/\";\n\t\tconst categoria = \"where-to-eat\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/ristoro.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1110573;\n\t\tconst lon      = 12.8990564;\n\t\tconst title    = \"Spilimbergo &#8211; Osteria &#8220;Al Mus c&#8217;al Svuale&#8221;\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/spilimbergo-osteria-al-mus-cal-svuale\\\/\";\n\t\tconst categoria = \"where-to-eat\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/ristoro.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1250831;\n\t\tconst lon      = 12.8800223;\n\t\tconst title    = \"Spilimbergo &#8211; Bar Trattoria Agli Amici\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/spilimbergo-bar-trattoria-agli-amici\\\/\";\n\t\tconst categoria = \"where-to-eat\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/ristoro.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1082907;\n\t\tconst lon      = 12.8985599;\n\t\tconst title    = \"Spilimbergo &#8211; Bar Buffet\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/spilimbergo-bar-buffet\\\/\";\n\t\tconst categoria = \"where-to-eat\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/ristoro.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.143672;\n\t\tconst lon      = 12.9055804;\n\t\tconst title    = \"Spilimbergo &#8211; B&amp;B Heart of Lavender\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/spilimbergo-bb-heart-of-lavender\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1124417;\n\t\tconst lon      = 12.8987319;\n\t\tconst title    = \"Spilimbergo &#8211; Hotel Restaurant Osteria da Afro\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/spilimbergo-hotel-restaurant-osteria-da-afro\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1107512;\n\t\tconst lon      = 12.9020394;\n\t\tconst title    = \"Spilimbergo &#8211; Hotel Restaurant Al Consul\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/spilimbergo-hotel-restaurant-al-consul\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1633106;\n\t\tconst lon      = 12.8936026;\n\t\tconst title    = \"Sequals &#8211; Corte Morea\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/sequals-corte-morea\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1586111;\n\t\tconst lon      = 12.8238889;\n\t\tconst title    = \"Sequals &#8211; Hotel Restaurant Belvedere\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/sequals-hotel-restaurant-belvedere\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1776856;\n\t\tconst lon      = 12.8161651;\n\t\tconst title    = \"Sequals &#8211; Agriturismo Sasso d&#8217;Oro\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/sequals-agriturismo-sasso-doro\\\/\";\n\t\tconst categoria = \"local-products\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/vendita-agroalimentare-diretta.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 45.9585867;\n\t\tconst lon      = 12.658147;\n\t\tconst title    = \"Pordenone &#8211; PromoTurismoFVG INFO POINT IN PORDENONE.\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/pordenone-promoturismofvg-info-point-in-pordenone\\\/\";\n\t\tconst categoria = \"default\";\n    \tconst iconaUrl  = \"\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/poi-mappa.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 45.9655717;\n\t\tconst lon      = 12.6654115;\n\t\tconst title    = \"Pordenone &#8211; Pordenone Tourism\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/pordenone-pordenone-tourism\\\/\";\n\t\tconst categoria = \"default\";\n    \tconst iconaUrl  = \"\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/poi-mappa.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 45.9552355;\n\t\tconst lon      = 12.6611172;\n\t\tconst title    = \"Pordenone &#8211; Italy Trip Idea\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/pordenone-italy-trip-idea\\\/\";\n\t\tconst categoria = \"default\";\n    \tconst iconaUrl  = \"\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/poi-mappa.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 45.9503847;\n\t\tconst lon      = 12.6614317;\n\t\tconst title    = \"Pordenone &#8211; Hotel Santin\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/pordenone-hotel-santin\\\/\";\n\t\tconst categoria = \"default\";\n    \tconst iconaUrl  = \"\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/poi-mappa.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 45.9573484;\n\t\tconst lon      = 12.6562238;\n\t\tconst title    = \"Pordenone &#8211; Best Western Plus Park Hotel Pordenone\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/pordenone-best-western-plus-park-hotel-pordenone\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.0217035;\n\t\tconst lon      = 12.4767185;\n\t\tconst title    = \"Polcenigo &#8211; Bar Trattoria Santissima\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/polcenigo-bar-trattoria-santissima\\\/\";\n\t\tconst categoria = \"where-to-eat\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/ristoro.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.0306346;\n\t\tconst lon      = 12.5020625;\n\t\tconst title    = \"Polcenigo &#8211; Albergo Diffuso Polcenigo\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/polcenigo-albergo-diffuso-polcenigo\\\/\";\n\t\tconst categoria = \"default\";\n    \tconst iconaUrl  = \"\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/poi-mappa.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1821465;\n\t\tconst lon      = 12.940527;\n\t\tconst title    = \"Pinzano al Tagliamento &#8211; Ronco Margherita Soc. Agricola srl\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/pinzano-al-tagliamento-ronco-margherita-soc-agricola-srl\\\/\";\n\t\tconst categoria = \"local-products\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/vendita-agroalimentare-diretta.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1696739;\n\t\tconst lon      = 12.924989;\n\t\tconst title    = \"Pinzano al Tagliamento &#8211; Emilio Bulfon ssa wines (Bulfon Winery)\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/pinzano-al-tagliamento-emilio-bulfon-ssa-wines-bulfon-winery\\\/\";\n\t\tconst categoria = \"local-products\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/vendita-agroalimentare-diretta.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1676883;\n\t\tconst lon      = 12.9205869;\n\t\tconst title    = \"Pinzano al Tagliamento &#8211; Noemi House\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/pinzano-al-tagliamento-noemi-house\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.183178;\n\t\tconst lon      = 12.946178;\n\t\tconst title    = \"Pinzano al Tagliamento &#8211; Carta Matta by Vanina Mareschi\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/pinzano-al-tagliamento-carta-matta-by-vanina-mareschi\\\/\";\n\t\tconst categoria = \"default\";\n    \tconst iconaUrl  = \"\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/poi-mappa.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1754544;\n\t\tconst lon      = 12.9193242;\n\t\tconst title    = \"Pinzano al Tagliamento &#8211; Borgo delle Mele\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/pinzano-al-tagliamento-borgo-delle-mele\\\/\";\n\t\tconst categoria = \"local-products\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/vendita-agroalimentare-diretta.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1677506;\n\t\tconst lon      = 12.920002;\n\t\tconst title    = \"Pinzano al Tagliamento &#8211; Azienda Agrituristica Antica Dimora\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/pinzano-al-tagliamento-azienda-agrituristica-antica-dimora\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1683271;\n\t\tconst lon      = 12.9264767;\n\t\tconst title    = \"Pinzano al Tagliamento &#8211; Azienda Agricola Pognici Alessandra\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/pinzano-al-tagliamento-azienda-agricola-pognici-alessandra\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.110161618934;\n\t\tconst lon      = 12.904740571976;\n\t\tconst title    = \"St. Mary Major Parish\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/st-mary-major-parish\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1632309;\n\t\tconst lon      = 12.6608553;\n\t\tconst title    = \"Montereale Valcellina &#8211; Al Castelu di Alzetta Francesca\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/montereale-valcellina-al-castelu-di-alzetta-francesca\\\/\";\n\t\tconst categoria = \"local-products\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/vendita-agroalimentare-diretta.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1481759;\n\t\tconst lon      = 12.656432;\n\t\tconst title    = \"Montereale Valcellina &#8211; Valcellina House\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/montereale-valcellina-valcellina-house\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1442257;\n\t\tconst lon      = 12.6577408;\n\t\tconst title    = \"Montereale Valcellina &#8211; House of Tiziana 1930\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/montereale-valcellina-house-of-tiziana-1930\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2171491;\n\t\tconst lon      = 12.7845395;\n\t\tconst title    = \"Meduno &#8211; Sport 4 TEAM\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/meduno-sport-4-team\\\/\";\n\t\tconst categoria = \"default\";\n    \tconst iconaUrl  = \"\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/poi-mappa.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2169915;\n\t\tconst lon      = 12.7828609;\n\t\tconst title    = \"Meduno &#8211; Community Cooperative Together\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/meduno-community-cooperative-together\\\/\";\n\t\tconst categoria = \"default\";\n    \tconst iconaUrl  = \"\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/poi-mappa.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2156988;\n\t\tconst lon      = 12.7972294;\n\t\tconst title    = \"Meduno &#8211; Agriturismo Alle Ruote\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/meduno-agriturismo-alle-ruote\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2087675;\n\t\tconst lon      = 12.8133778;\n\t\tconst title    = \"Meduno &#8211; Farmhouse Ai Pradons\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/meduno-farmhouse-ai-pradons\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.093843;\n\t\tconst lon      = 12.5960578;\n\t\tconst title    = \"Marsure &#8211; Latteria Sociale di Marsure S.C.A.\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/marsure-latteria-sociale-di-marsure-s-c-a\\\/\";\n\t\tconst categoria = \"local-products\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/vendita-agroalimentare-diretta.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.170368322328;\n\t\tconst lon      = 12.711244672537;\n\t\tconst title    = \"Maniago &#8211; Maniago IAT Office\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/maniago-maniago-iat-office\\\/\";\n\t\tconst categoria = \"default\";\n    \tconst iconaUrl  = \"\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/poi-mappa.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1544923;\n\t\tconst lon      = 12.7086143;\n\t\tconst title    = \"Maniago &#8211; Pizzeria Da Mario\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/maniago-pizzeria-da-mario\\\/\";\n\t\tconst categoria = \"where-to-eat\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/ristoro.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1401748;\n\t\tconst lon      = 12.6968746;\n\t\tconst title    = \"Maniago &#8211; At the Place of Julius\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/maniago-at-the-place-of-julius\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.213009;\n\t\tconst lon      = 12.729021;\n\t\tconst title    = \"Frisanco -Nonna Leni\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/frisanco-nonna-leni\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2178302;\n\t\tconst lon      = 12.7024819;\n\t\tconst title    = \"Frisanco &#8211; Foresteria Benedettino Monastery\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/frisanco-foresteria-benedettino-monastery\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2207858;\n\t\tconst lon      = 12.7335428;\n\t\tconst title    = \"Frisanco &#8211; B&amp;B Louc Gubit\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/frisanco-bb-louc-gubit\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2018832;\n\t\tconst lon      = 12.7184863;\n\t\tconst title    = \"Frisanco &#8211; B&amp;B In Farm\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/frisanco-bb-in-farm\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2155445;\n\t\tconst lon      = 12.7137711;\n\t\tconst title    = \"Frisanco &#8211; TaliMarket Foods.\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/frisanco-talimarket-foods\\\/\";\n\t\tconst categoria = \"local-products\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/vendita-agroalimentare-diretta.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1641085;\n\t\tconst lon      = 12.764037;\n\t\tconst title    = \"Fanna &#8211; Foresteria Santuario Madonna di Strada\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/fanna-foresteria-santuario-madonna-di-strada\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1683504;\n\t\tconst lon      = 12.7712196;\n\t\tconst title    = \"Fanna &#8211; Buosi Ettore S.S.A\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/fanna-buosi-ettore-s-s-a\\\/\";\n\t\tconst categoria = \"local-products\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/vendita-agroalimentare-diretta.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 45.9690174;\n\t\tconst lon      = 12.6944002;\n\t\tconst title    = \"Cordenons &#8211; Hotel Naonis\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/cordenons-hotel-naonis\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2294988;\n\t\tconst lon      = 12.9163474;\n\t\tconst title    = \"Clauzetto &#8211; ALBERGO DIFFUSO BALCONY ON THE FRIULI\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/clauzetto-albergo-diffuso-balcony-on-the-friuli\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.202174857243;\n\t\tconst lon      = 12.77547955513;\n\t\tconst title    = \"Cavasso Nuovo &#8211; Nives Francescon\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/cavasso-nuovo-nives-francescon\\\/\";\n\t\tconst categoria = \"local-products\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/vendita-agroalimentare-diretta.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1982679;\n\t\tconst lon      = 12.7616136;\n\t\tconst title    = \"Cavasso Nuovo &#8211; The Smallest in the Village\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/cavasso-nuovo-the-smallest-in-the-village\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1965263;\n\t\tconst lon      = 12.773778;\n\t\tconst title    = \"Cavasso Nuovo &#8211; Gianni Carpenedo Winery\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/cavasso-nuovo-gianni-carpenedo-winery\\\/\";\n\t\tconst categoria = \"local-products\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/vendita-agroalimentare-diretta.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.199224959764;\n\t\tconst lon      = 12.902460694313;\n\t\tconst title    = \"Castelnovo &#8211; Municipal Hostel\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/castelnovo-municipal-hostel\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.179757;\n\t\tconst lon      = 12.901677;\n\t\tconst title    = \"Castelnovo &#8211; Honey of the Roncs\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/castelnovo-honey-of-the-roncs\\\/\";\n\t\tconst categoria = \"local-products\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/vendita-agroalimentare-diretta.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2092269;\n\t\tconst lon      = 12.8971952;\n\t\tconst title    = \"Castelnovo &#8211; Almadis House\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/castelnovo-almadis-house\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.2001154;\n\t\tconst lon      = 12.9043456;\n\t\tconst title    = \"Castelnovo &#8211; Bierkneipe\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/castelnovo-bierkneipe\\\/\";\n\t\tconst categoria = \"local-products\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/vendita-agroalimentare-diretta.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.200207502994;\n\t\tconst lon      = 12.903151363134;\n\t\tconst title    = \"Castelnovo &#8211; B&amp;B La Scala\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/castelnovo-bb-la-scala\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.193317;\n\t\tconst lon      = 12.9003831;\n\t\tconst title    = \"Castelnovo &#8211; Antica Trattoria Vigna\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/castelnovo-antica-trattoria-vigna\\\/\";\n\t\tconst categoria = \"where-to-eat\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/ristoro.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.007355;\n\t\tconst lon      = 12.432624;\n\t\tconst title    = \"Caneva, Cansiglio &#8211; Malga Coda di Bosco Dal Titti\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/caneva-cansiglio-malga-coda-di-bosco-dal-titti\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 45.9804834;\n\t\tconst lon      = 12.481652;\n\t\tconst title    = \"Caneva &#8211; Titti Dairy\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/caneva-titti-dairy\\\/\";\n\t\tconst categoria = \"local-products\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/vendita-agroalimentare-diretta.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 45.9805032;\n\t\tconst lon      = 12.4611984;\n\t\tconst title    = \"Caneva &#8211; &#8220;Rive Col De Fer&#8221; Winery\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/caneva-rive-col-de-fer-winery\\\/\";\n\t\tconst categoria = \"local-products\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/vendita-agroalimentare-diretta.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.0351976;\n\t\tconst lon      = 12.5279065;\n\t\tconst title    = \"Budoia &#8211; La De Bodaman\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/budoia-la-de-bodaman\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.043533;\n\t\tconst lon      = 12.5325232;\n\t\tconst title    = \"Budoia &#8211; Sweet and Savory\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/budoia-sweet-and-savory\\\/\";\n\t\tconst categoria = \"local-products\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/vendita-agroalimentare-diretta.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.0459874;\n\t\tconst lon      = 12.5335155;\n\t\tconst title    = \"Budoia &#8211; Cjasa de Ghaja\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/budoia-cjasa-de-ghaja\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.0428848;\n\t\tconst lon      = 12.5288381;\n\t\tconst title    = \"Budoia &#8211; Hotel Restaurant C\\u00e0 del Bosco\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/budoia-hotel-restaurant-ca-del-bosco\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.053524;\n\t\tconst lon      = 12.5474091;\n\t\tconst title    = \"Budoia &#8211; Agriturismo Al Ranch\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/budoia-agriturismo-al-ranch\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.0697103;\n\t\tconst lon      = 12.5855367;\n\t\tconst title    = \"Aviano &#8211; Western House\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/aviano-western-house\\\/\";\n\t\tconst categoria = \"where-to-eat\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/ristoro.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.050045;\n\t\tconst lon      = 12.5646924;\n\t\tconst title    = \"Aviano &#8211; Villa Policreti\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/aviano-villa-policreti\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.0702348;\n\t\tconst lon      = 12.5912419;\n\t\tconst title    = \"Aviano &#8211; Smart Residence Aviano\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/aviano-smart-residence-aviano\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.093843;\n\t\tconst lon      = 12.5960578;\n\t\tconst title    = \"Aviano &#8211; Social Dairy of Marsure\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/aviano-social-dairy-of-marsure\\\/\";\n\t\tconst categoria = \"local-products\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/vendita-agroalimentare-diretta.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.0674228;\n\t\tconst lon      = 12.5922598;\n\t\tconst title    = \"Aviano &#8211; Dorth 1931\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/aviano-dorth-1931\\\/\";\n\t\tconst categoria = \"local-products\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/vendita-agroalimentare-diretta.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<script>\n\t(function() {\n\t\tconst lat      = 46.1449356;\n\t\tconst lon      = 12.7954778;\n\t\tconst title    = \"Arba &#8211; Hotel Julienne\";\n\t\tconst link_strut = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/en\\\/strut-accoglienza\\\/arba-hotel-julienne\\\/\";\n\t\tconst categoria = \"where-to-sleep\";\n    \tconst iconaUrl  = \"https:\\\/\\\/sancristoforo.staging-itineraria.it\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/accoglienza-turistica.png\";\n\n\n\t\tconst strutIcon = L.icon({\n\t\t\ticonUrl: iconaUrl,\n\t\t\ticonSize: [28, 28],\n\t\t\ticonAnchor: [14, 28],\n\t\t\tpopupAnchor: [0, -30]\n\t\t});\n\n\t\tconst marker = L.marker([lat, lon], { icon: strutIcon }).bindPopup('<strong>' + title + '<\/strong><br><br><a href=\"' + link_strut + '\" target=\"_blank\">Vai alla scheda<\/a>');\n\t\t\n\t\t\/\/ Salviamo il marker\n\t\tstrutLayers[title] = marker;\n\t})();\n\t<\/script>\n\t\t<!--script src=\"\/wp-content\/themes\/theme-rz\/js\/mappa.js\" defer><\/script-->\n\t<script>\n\t\t\n\tfunction setupFiltroMezzo() {\n\t  const checkboxes = document.querySelectorAll('.filtro-checkbox');\n\t  function aggiornaFiltro() {\n\t\tconst selected = Array.from(checkboxes)\n\t\t  .filter(cb => cb.checked)\n\t\t  .map(cb => cb.value);\n\t\tObject.entries(gpxLayers).forEach(([name, layer]) => {\n\t\t  const cat = layerCategories[name];\n\t\t  if (selected.includes(cat)) {\n\t\t\tif (!map.hasLayer(layer)) map.addLayer(layer);\n\t\t  } else {\n\t\t\tif (map.hasLayer(layer)) map.removeLayer(layer);\n\t\t  }\n\t\t});\n\t\t  \n\t\t\/\/ --- POI (categoria \"poi\")\n        Object.entries(poiLayers).forEach(([name, marker]) => {\n            if (selected.includes(\"poi\")) {\n                if (!map.hasLayer(marker)) map.addLayer(marker);\n            } else {\n                if (map.hasLayer(marker)) map.removeLayer(marker);\n            }\n        });\n\t\t\/\/ --- Strutture\n        Object.entries(strutLayers).forEach(([name, marker]) => {\n            if (selected.includes(\"strutture\")) {\n                if (!map.hasLayer(marker)) map.addLayer(marker);\n            } else {\n                if (map.hasLayer(marker)) map.removeLayer(marker);\n            }\n        });\n\t\t\/\/ --- FONTANE\n        Object.entries(fontanaLayers).forEach(([name, marker]) => {\n            if (selected.includes(\"fontane\")) {\n                if (!map.hasLayer(marker)) map.addLayer(marker);\n            } else {\n                if (map.hasLayer(marker)) map.removeLayer(marker);\n            }\n        });\n\t  }\n\t  checkboxes.forEach(cb => cb.addEventListener('change', aggiornaFiltro));\n\t  aggiornaFiltro();\n\t}\n\t\t\n\t\t\/\/ Layer per le fontane\nlet fontaneLayer = L.layerGroup().addTo(map);\n\n\/\/ Funzione per caricare le fontane nell'area visibile\nfunction caricaFontane() {\n    fontaneLayer.clearLayers();\n\n    const bbox = map.getBounds();\n    const query = `\n        [out:json][timeout:25];\n        (\n            node[\"amenity\"=\"drinking_water\"](${bbox.getSouth()},${bbox.getWest()},${bbox.getNorth()},${bbox.getEast()});\n        );\n        out;\n    `;\n\n    fetch(\"https:\/\/overpass-api.de\/api\/interpreter\", {\n        method: \"POST\",\n        body: query\n    })\n    .then(res => res.json())\n    .then(data => {\n        data.elements.forEach(el => {\n            if (el.lat && el.lon) {\n                L.marker([el.lat, el.lon], {\n                    icon: L.divIcon({\n                        className: \"icona-fontana\",\n                        html: \"\ud83d\udca7\",\n                        iconSize: [20, 20],\n                        iconAnchor: [10, 10]\n                    })\n                }).addTo(fontaneLayer);\n            }\n        });\n    });\n}\n\n\/\/ Carico le fontane al load e allo spostamento mappa\n\/\/map.on(\"moveend\", caricaFontane);\n\/\/caricaFontane();\n\n\t\t\n\tdocument.getElementById('toggle-legend').addEventListener('click', function() {\n\t  const legend = document.getElementById('map-legend');\n\t  legend.classList.toggle('collapsed');\n\t  this.classList.toggle('active'); \/\/ aggiungi\/togli classe \"active\" al bottone\n\t});\n\t\t\n\tmap.on('enterFullscreen', function(){\n\t\tconst btn = document.querySelector('.leaflet-control-zoom-fullscreen.fullscreen-icon');\n\t\tif (btn) {\n\t\t\tbtn.classList.add('exit-fullscreen');\n\t\t\tbtn.classList.remove('fullscreen');\n\t\t}\n\t});\n\n\tmap.on('exitFullscreen', function(){\n\t\tconst btn = document.querySelector('.leaflet-control-zoom-fullscreen.fullscreen-icon');\n\t\tif (btn) {\n\t\t\tbtn.classList.add('fullscreen');\n\t\t\tbtn.classList.remove('exit-fullscreen');\n\t\t}\n\t});\n\t\n\tmap.on('zoomend', function() {\n\t\tconst currentZoom = map.getZoom();\n\t\t\/\/caricaItinerariPerZoom(currentZoom);\n\t\tconst checkboxFontane = document.getElementById('filtro-fontane');\n\t\tif(currentZoom > 12){\n\t\t   \/\/document.getElementById('zoom-label').style.display = 'none';\n\t\t\tif (checkboxFontane) {\n\t\t\t\tcheckboxFontane.checked = true;\n\t\t\t}\n\t\t}else{\n\t\t   \/\/document.getElementById('zoom-label').style.display = 'flex';\n\t\t\tif (checkboxFontane) {\n\t\t\t\tcheckboxFontane.checked = false;\n\t\t\t}\n\t\t}\n\t\tsetupFiltroMezzo();\n\t});\n\n\t<\/script>\n\n\t<style>\n\t\t#mapBici{\n\t\t\theight: 500px;\n\t\t\tposition: relative;\n\t\t}\n\t\t.map-loader {\n\t\t  position: absolute;\n\t\t  top: 50%;\n\t\t  left: 50%;\n\t\t  transform: translate(-50%, -50%);\n\t\t  z-index: 1003;\n\t\t  background: rgba(255,255,255,0.9);\n\t\t  padding: 1em 1.5em;\n\t\t  border-radius: 5px;\n\t\t  font-size: 1.1em;\n\t\t}\n\t\t.hidden { display: none; }\n\t\t\n\t\t.titleFiltroMappa{\n\t\t\tfont-size: 21px;\n\t\t\tmargin-bottom:10px;\n\t\t}\n\t.leaflet-gpx-legend {\n\t  background: white;\n\t  padding: 8px;\n\t  border-radius: 4px;\n\t  box-shadow: 0 0 6px rgba(0,0,0,0.3);\n\t  max-height: 190px;\n\t  overflow-y: auto;\n\t  overflow-x: hidden;\n\t  width: 200px;\n\t  position: absolute;\n\t  top: 110px;\n\t  right: 10px;\n\t  z-index: 1001;\n\t  display: block;\n\t}\n\n\t.leaflet-gpx-legend.collapsible.collapsed {\n\t  display: none;\n\t}\n\t.mobile-only {\n\t  display: none;\n\t}\n\t\t#toggle-legend{\n  \t\t\tbackground: white;\n\t\t\ttop: 110px;\n\t\t\tpadding: 6px;\n\t\t\tline-height: 10px;\n\t\t\tborder-color: #777;\n\t\t}\n\t\t#toggle-legend.active {\n\t\t  background-color: #F29A5B;\n\t\t  color: white;\n\t\t  border: 1px solid #C0663B;\n\t\t}\n\t\t#geolocate-button {\n\t\t  position: absolute;\n\t\t\ttop: auto;\n\t\t  bottom: 10px;\n\t\t  right: 10px;\n\t\t  z-index: 1002;\n\t\t  background: white;\n\t\t  border: 1px solid #ccc;\n\t\t  padding: 8px 12px;\n\t\t  border-radius: 4px;\n\t\t  font-size: 16px;\n\t\t  cursor: pointer;\n\t\t  box-shadow: 0 0 6px rgba(0,0,0,0.3);\n\t\t\twidth: auto;\n\t\t  height: auto;\n\t\t  line-height: normal;\n\t\t}.filtro-opzione {\n\t\t  display: flex;\n\t\t  align-items: center;\n\t\t  margin-bottom: 8px;\n\t\t  font-size: 14px;\n\t\t  cursor: pointer;\n\t\t}\n\n\t\t.filtro-opzione input[type=\"checkbox\"] {\n\t\t  appearance: none;\n\t\t  width: 16px;\n\t\t  height: 16px;\n\t\t  border: 2px solid #999;\n\t\t  border-radius: 3px;\n\t\t  margin-right: 8px;\n\t\t  position: relative;\n\t\t  cursor: pointer;\n\t\t  background-color: white;\n\t\t  transition: background-color 0.2s, border-color 0.2s;\n\t\t}\n\n\t\t.filtro-opzione input[type=\"checkbox\"]:checked {\n\t\t  background-color: #333;\n\t\t  border-color: #333;\n\t\t}\n\n\t\t.filtro-opzione input[type=\"checkbox\"]::after {\n\t\t  content: \"\";\n\t\t  position: absolute;\n\t\t  top: 2px;\n\t\t  left: 5px;\n\t\t  width: 3px;\n\t\t  height: 8px;\n\t\t  border: solid white;\n\t\t  border-width: 0 2px 2px 0;\n\t\t  transform: rotate(45deg);\n\t\t  opacity: 0;\n\t\t}\n\n\t\t.filtro-opzione input[type=\"checkbox\"]:checked::after {\n\t\t  opacity: 1;\n\t\t}\n\n\t\t.color-line {\n\t\t  display: inline-block;\n\t\t  width: 20px;\n\t\t  height: 3px;\n\t\t  border-radius: 2px;\n\t\t  margin-right: 6px;\n\t\t}\n\t\t\t\n\t\t.leaflet-control-zoom-fullscreen.fullscreen-icon.fullscreen {\n\t\t\tbackground-image: url('https:\/\/unpkg.com\/leaflet.fullscreen@1.6.0\/icon-fullscreen-2x.png');\n\t\t\t\/*background-size: 18px 18px;*\/\n\t\t}\n\t\t.leaflet-control-zoom-fullscreen.fullscreen-icon.exit-fullscreen {\n\t\t\tbackground-image: url('https:\/\/slowitaly.tours\/wp-content\/uploads\/2025\/07\/icon_zoom-indietro.png');\n\t\t\tbackground-size: 18px 18px;\n\t\t}\n\t\t#zoom-label {\n\t\t\tposition: absolute;\n\t\t\tleft: 50px;\n    \t\ttop: 12px;\n\t\t\tz-index: 1002;\n\t\t\tbackground: white;\n\t\t\tcolor: #333;\n\t\t\tfont-size: 13px;\n\t\t\tpadding: 6px 10px;\n\t\t\tborder-radius: 4px;\n\t\t\tbox-shadow: 0 0 6px rgba(0,0,0,0.2);\n\t\t\tmax-width: 140px;\n\t\t\ttext-align: left;\n\t\t  }\n\t\t\n\t@media (max-width: 768px) {\n\t\t#map {\n\t\t\theight: 70vh;\n\t\t  }\n\t  .mobile-only {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\ttop: 10px;\n\t\tright: 10px;\n\t\tz-index: 1002;\n\t  }\n\t  #geolocate-button {\n\t\tdisplay: block;\n\t  }\n\t\t.leaflet-gpx-legend{\n\t\t\ttop: 25%;\n\t\t\tright: 25%;\n\t\t\twidth: 50%;\n\t\t\tpadding: 15px;\n\t\t}\n\t  .leaflet-gpx-legend.collapsible {\n\t\tdisplay: none;\n\t  }\n\t  .leaflet-gpx-legend.collapsible.collapsed {\n\t\tdisplay: block!important;\n\t  }\n\t\t\n\t\t\n\t\t#toggle-legend{\n  \t\t\tbackground: white;\n\t\t\ttop: 110px;\n\t\t\tpadding: 6px;\n\t\t\tline-height: 10px;\n\t\t\tborder-color: #777;\n\t\t}\n\t\t#toggle-legend.active {\n\t\t  background-color: #F29A5B;\n\t\t  color: white;\n\t\t  border: 1px solid #C0663B;\n\t\t}\n\t\t\n\t  .leaflet-top.leaflet-left {\n\t\tleft: auto !important;\n\t\tright: 10px !important;\n\t  }\n\t  .leaflet-control {\n\t\tmargin-right: 10px !important;\n\t  }\n\t\t#zoom-label {\n\t\t\tright: 60px;\n        \ttop: 12px;\n        \tleft: auto;\n\t\t}\n\t  .leaflet-control-zoom,\n\t  .leaflet-control-zoom-fullscreen {\n\t\tbox-shadow: 0 0 6px rgba(0, 0, 0, 0.3);\n\t  }\n\t}\n\t<\/style>\n\t\t\t<div class=\"elementor-shortcode\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-3077","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/sancristoforo.staging-itineraria.it\/en\/wp-json\/wp\/v2\/pages\/3077","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sancristoforo.staging-itineraria.it\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sancristoforo.staging-itineraria.it\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sancristoforo.staging-itineraria.it\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sancristoforo.staging-itineraria.it\/en\/wp-json\/wp\/v2\/comments?post=3077"}],"version-history":[{"count":1,"href":"https:\/\/sancristoforo.staging-itineraria.it\/en\/wp-json\/wp\/v2\/pages\/3077\/revisions"}],"predecessor-version":[{"id":3078,"href":"https:\/\/sancristoforo.staging-itineraria.it\/en\/wp-json\/wp\/v2\/pages\/3077\/revisions\/3078"}],"wp:attachment":[{"href":"https:\/\/sancristoforo.staging-itineraria.it\/en\/wp-json\/wp\/v2\/media?parent=3077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}