";itemsSidebar.appendChild(closeButton);container.appendChild(itemsSidebar);}
function openSidebar(content)
{if(!itemsSidebar)
{return;}
const list=itemsSidebar.querySelector(".lch-map__sidebar-list");if(list)
{list.innerHTML=content;itemsSidebar.classList.add("active");}}
function closeSidebar()
{itemsSidebar.classList.remove("active");}
map.fitBounds(bounds);const renderer={render({count,position})
{return new google.maps.Marker({label:{text:String(count),color:"#b3181b",fontSize:"22px",className:'marker-cluster'},position,icon:"https://www.axiimmo.com/wp-content/themes/axi-immo/src/mapa/marker_cluster.svg",zIndex:Number(google.maps.Marker.MAX_ZINDEX)+count,})}}
new markerClusterer.MarkerClusterer({markers,map,renderer,onClusterClick:(event,cluster,map)=>{const markersInCluster=cluster.markers;let listContent='