{"id":35902,"date":"2023-08-14T16:50:49","date_gmt":"2023-08-14T14:50:49","guid":{"rendered":"https:\/\/realstone.komunik.ch\/loesungen\/realstone-industrial-fund\/liegenschaften\/"},"modified":"2026-03-02T10:53:42","modified_gmt":"2026-03-02T09:53:42","slug":"liegenschaften","status":"publish","type":"page","link":"https:\/\/realstone.ch\/de\/loesungen\/realstone-industrial-fund\/liegenschaften\/","title":{"rendered":"Liegenschaften"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"35902\" class=\"elementor elementor-35902 elementor-29047\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-24af5e6 e-flex e-con-boxed e-con e-parent\" data-id=\"24af5e6\" 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-2b8ee02 elementor-widget elementor-widget-shortcode\" data-id=\"2b8ee02\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><script>const items = [{\"__id\":\"14605\",\"code\":\"15507\",\"designation\":\"Hauptstrasse 173\",\"_type\":\"385\",\"upload_image\":\"9n2xbArisdorf.jpg\",\"logements_nbr\":\"1\",\"logements_m2\":\"154\",\"commerces_nbr\":\"-\",\"commerces_m2\":\"7'849\",\"revenusLocatifsRealises\":300817.64,\"elTheoriqueExercice\":301392.2,\"elTheoriqueEL\":904176.6,\"el_dernier_mois\":75348.05,\"prixDeRevientPR\":14428352.65,\"valeurVenaleVV\":14960000,\"vacDernMois\":143.64,\"vacExercice\":574.56,\"perte_locative_dernier_mois\":0,\"perte_locative_ytd\":0,\"co2_value\":0,\"co2_note\":null,\"idc_value\":0,\"idc_note\":null,\"photovoltaique\":0,\"longitude\":null,\"latitude\":null,\"isPPE\":0,\"isDDP\":0,\"nbTypologie1\":0,\"nbTypologie2\":0,\"nbTypologie3\":0,\"nbTypologie4\":0,\"nbTypologie5\":0,\"acquisition_date\":null,\"ville\":\"Arisdorf\",\"canton_code\":\"BL\",\"canton\":\"Basel-Landschaft\",\"type\":\"Kommerziell genutzte Liegenschaften\",\"chauffage\":\"Heiz\\u00f6l\",\"image\":\"9n2xbArisdorf_500w.jpg\",\"image_700\":\"9n2xbArisdorf_700w.jpg\",\"ratio_elvv\":\"6.04%\",\"ratio_elpr\":\"6.27%\",\"immeuble_vacant_periode\":\"0.19%\",\"immeuble_vacant_dernier_mois\":\"0.19%\",\"revenu_WZ\":\"300'818\",\"etat_locatif_annualise_EL\":\"904'177\",\"prix_revient_PR\":\"14'428'353\",\"valeur_venale_VV\":\"14'960'000\",\"el_ytd\":\"301'392\",\"ie_note\":null,\"ie_value\":0},{\"__id\":\"14578\",\"code\":\"15505\",\"designation\":\"Route de l'Industrie 36\",\"_type\":\"385\",\"upload_image\":\"DHLeuaigle.jpg\",\"logements_nbr\":\"-\",\"logements_m2\":\"-\",\"commerces_nbr\":\"-\",\"commerces_m2\":\"5'544\",\"revenusLocatifsRealises\":437414,\"elTheoriqueExercice\":485486,\"elTheoriqueEL\":485436,\"el_dernier_mois\":40453,\"prixDeRevientPR\":6937455.49,\"valeurVenaleVV\":6991000,\"vacDernMois\":4004.85,\"vacExercice\":48063,\"perte_locative_dernier_mois\":0,\"perte_locative_ytd\":0,\"co2_value\":0,\"co2_note\":null,\"idc_value\":0,\"idc_note\":null,\"photovoltaique\":0,\"longitude\":6.945037,\"latitude\":46.301194,\"isPPE\":0,\"isDDP\":0,\"nbTypologie1\":0,\"nbTypologie2\":0,\"nbTypologie3\":0,\"nbTypologie4\":0,\"nbTypologie5\":0,\"acquisition_date\":null,\"ville\":\"Aigle\",\"canton_code\":\"VD\",\"canton\":\"Waadt\",\"type\":\"Kommerziell genutzte Liegenschaften\",\"chauffage\":\"Fernheizung\",\"image\":\"DHLeuaigle_500w.jpg\",\"image_700\":\"DHLeuaigle_700w.jpg\",\"ratio_elvv\":\"6.94%\",\"ratio_elpr\":\"7.00%\",\"immeuble_vacant_periode\":\"9.90%\",\"immeuble_vacant_dernier_mois\":\"9.90%\",\"revenu_WZ\":\"437'414\",\"etat_locatif_annualise_EL\":\"485'436\",\"prix_revient_PR\":\"6'937'455\",\"valeur_venale_VV\":\"6'991'000\",\"el_ytd\":\"485'486\",\"ie_note\":null,\"ie_value\":0},{\"__id\":\"14573\",\"code\":\"15500\",\"designation\":\"Route de Crissier 4, Boulevard de l'Arc-en-Ciel 28, 38, 42\",\"_type\":\"385\",\"upload_image\":\"Db5tIbussigny.jpg\",\"logements_nbr\":\"1\",\"logements_m2\":\"119\",\"commerces_nbr\":\"-\",\"commerces_m2\":\"18'244\",\"revenusLocatifsRealises\":2186445.8,\"elTheoriqueExercice\":2327014.6,\"elTheoriqueEL\":2321889.6,\"el_dernier_mois\":193490.8,\"prixDeRevientPR\":41344616.35,\"valeurVenaleVV\":46010000,\"vacDernMois\":23877,\"vacExercice\":133644,\"perte_locative_dernier_mois\":0,\"perte_locative_ytd\":0,\"co2_value\":0,\"co2_note\":null,\"idc_value\":0,\"idc_note\":null,\"photovoltaique\":577.8,\"longitude\":6.56537,\"latitude\":46.548606,\"isPPE\":0,\"isDDP\":0,\"nbTypologie1\":0,\"nbTypologie2\":0,\"nbTypologie3\":0,\"nbTypologie4\":0,\"nbTypologie5\":0,\"acquisition_date\":null,\"ville\":\"Bussigny\",\"canton_code\":\"VD\",\"canton\":\"Waadt\",\"type\":\"Kommerziell genutzte Liegenschaften\",\"chauffage\":\"Fernheizung\",\"image\":\"Db5tIbussigny_500w.jpg\",\"image_700\":\"Db5tIbussigny_700w.jpg\",\"ratio_elvv\":\"5.05%\",\"ratio_elpr\":\"5.62%\",\"immeuble_vacant_periode\":\"5.74%\",\"immeuble_vacant_dernier_mois\":\"12.34%\",\"revenu_WZ\":\"2'186'446\",\"etat_locatif_annualise_EL\":\"2'321'890\",\"prix_revient_PR\":\"41'344'616\",\"valeur_venale_VV\":\"46'010'000\",\"el_ytd\":\"2'327'015\",\"ie_note\":null,\"ie_value\":0},{\"__id\":\"14574\",\"code\":\"15501\",\"designation\":\"Place de l'Eglise 4-6\",\"_type\":\"386\",\"upload_image\":\"VHIPpmorges.jpg\",\"logements_nbr\":\"7\",\"logements_m2\":\"403\",\"commerces_nbr\":\"-\",\"commerces_m2\":\"196\",\"revenusLocatifsRealises\":158456,\"elTheoriqueExercice\":159276,\"elTheoriqueEL\":159276,\"el_dernier_mois\":13273,\"prixDeRevientPR\":3907678.55,\"valeurVenaleVV\":4255000,\"vacDernMois\":820,\"vacExercice\":820,\"perte_locative_dernier_mois\":0,\"perte_locative_ytd\":0,\"co2_value\":0,\"co2_note\":null,\"idc_value\":0,\"idc_note\":null,\"photovoltaique\":0,\"longitude\":6.499723,\"latitude\":46.510963,\"isPPE\":0,\"isDDP\":0,\"nbTypologie1\":0,\"nbTypologie2\":0,\"nbTypologie3\":0,\"nbTypologie4\":0,\"nbTypologie5\":0,\"acquisition_date\":null,\"ville\":\"Morges\",\"canton_code\":\"VD\",\"canton\":\"Waadt\",\"type\":\"Gemischte Bauten\",\"chauffage\":\"Fernheizung\",\"image\":\"VHIPpmorges_500w.jpg\",\"image_700\":\"VHIPpmorges_700w.jpg\",\"ratio_elvv\":\"3.74%\",\"ratio_elpr\":\"4.08%\",\"immeuble_vacant_periode\":\"0.51%\",\"immeuble_vacant_dernier_mois\":\"6.18%\",\"revenu_WZ\":\"158'456\",\"etat_locatif_annualise_EL\":\"159'276\",\"prix_revient_PR\":\"3'907'679\",\"valeur_venale_VV\":\"4'255'000\",\"el_ytd\":\"159'276\",\"ie_note\":null,\"ie_value\":0},{\"__id\":\"14579\",\"code\":\"15506\",\"designation\":\"Route de la Jonnaire 5\",\"_type\":\"385\",\"upload_image\":\"aN9Fnrennaz.jpg\",\"logements_nbr\":\"1\",\"logements_m2\":\"130\",\"commerces_nbr\":\"-\",\"commerces_m2\":\"2'065\",\"revenusLocatifsRealises\":240754,\"elTheoriqueExercice\":267395,\"elTheoriqueEL\":286452,\"el_dernier_mois\":23871,\"prixDeRevientPR\":4803009.21,\"valeurVenaleVV\":4763000,\"vacDernMois\":2008,\"vacExercice\":26641,\"perte_locative_dernier_mois\":0,\"perte_locative_ytd\":0,\"co2_value\":0,\"co2_note\":null,\"idc_value\":0,\"idc_note\":null,\"photovoltaique\":265,\"longitude\":6.927749,\"latitude\":46.384423,\"isPPE\":0,\"isDDP\":0,\"nbTypologie1\":0,\"nbTypologie2\":0,\"nbTypologie3\":0,\"nbTypologie4\":0,\"nbTypologie5\":0,\"acquisition_date\":null,\"ville\":\"Rennaz\",\"canton_code\":\"VD\",\"canton\":\"Waadt\",\"type\":\"Kommerziell genutzte Liegenschaften\",\"chauffage\":\"Fernheizung\",\"image\":\"aN9Fnrennaz_500w.jpg\",\"image_700\":\"aN9Fnrennaz_700w.jpg\",\"ratio_elvv\":\"6.01%\",\"ratio_elpr\":\"5.96%\",\"immeuble_vacant_periode\":\"9.96%\",\"immeuble_vacant_dernier_mois\":\"8.41%\",\"revenu_WZ\":\"240'754\",\"etat_locatif_annualise_EL\":\"286'452\",\"prix_revient_PR\":\"4'803'009\",\"valeur_venale_VV\":\"4'763'000\",\"el_ytd\":\"267'395\",\"ie_note\":null,\"ie_value\":0},{\"__id\":\"14576\",\"code\":\"15503\",\"designation\":\"Rue des Bosquets 33\",\"_type\":\"385\",\"upload_image\":\"08gG9vevey.jpg\",\"logements_nbr\":\"-\",\"logements_m2\":\"-\",\"commerces_nbr\":\"-\",\"commerces_m2\":\"472\",\"revenusLocatifsRealises\":92004,\"elTheoriqueExercice\":92004,\"elTheoriqueEL\":92004,\"el_dernier_mois\":7667,\"prixDeRevientPR\":1058216,\"valeurVenaleVV\":1112000,\"vacDernMois\":0,\"vacExercice\":0,\"perte_locative_dernier_mois\":0,\"perte_locative_ytd\":0,\"co2_value\":0,\"co2_note\":null,\"idc_value\":0,\"idc_note\":null,\"photovoltaique\":0,\"longitude\":6.845492,\"latitude\":46.465852,\"isPPE\":0,\"isDDP\":0,\"nbTypologie1\":0,\"nbTypologie2\":0,\"nbTypologie3\":0,\"nbTypologie4\":0,\"nbTypologie5\":0,\"acquisition_date\":null,\"ville\":\"Vevey\",\"canton_code\":\"VD\",\"canton\":\"Waadt\",\"type\":\"Kommerziell genutzte Liegenschaften\",\"chauffage\":\"Heiz\\u00f6l\",\"image\":\"08gG9vevey_500w.jpg\",\"image_700\":\"08gG9vevey_700w.jpg\",\"ratio_elvv\":\"8.27%\",\"ratio_elpr\":\"8.69%\",\"immeuble_vacant_periode\":\"0.00%\",\"immeuble_vacant_dernier_mois\":\"0.00%\",\"revenu_WZ\":\"92'004\",\"etat_locatif_annualise_EL\":\"92'004\",\"prix_revient_PR\":\"1'058'216\",\"valeur_venale_VV\":\"1'112'000\",\"el_ytd\":\"92'004\",\"ie_note\":null,\"ie_value\":0},{\"__id\":\"14575\",\"code\":\"15502\",\"designation\":\"Avenue Haldimand 10\",\"_type\":\"385\",\"upload_image\":\"SINZAyverdon.jpg\",\"logements_nbr\":\"-\",\"logements_m2\":\"-\",\"commerces_nbr\":\"-\",\"commerces_m2\":\"315\",\"revenusLocatifsRealises\":57150,\"elTheoriqueExercice\":57150,\"elTheoriqueEL\":57150,\"el_dernier_mois\":4762.5,\"prixDeRevientPR\":843858.05,\"valeurVenaleVV\":892200,\"vacDernMois\":0,\"vacExercice\":0,\"perte_locative_dernier_mois\":0,\"perte_locative_ytd\":0,\"co2_value\":0,\"co2_note\":null,\"idc_value\":0,\"idc_note\":null,\"photovoltaique\":0,\"longitude\":6.644096,\"latitude\":46.779338,\"isPPE\":0,\"isDDP\":0,\"nbTypologie1\":0,\"nbTypologie2\":0,\"nbTypologie3\":0,\"nbTypologie4\":0,\"nbTypologie5\":0,\"acquisition_date\":null,\"ville\":\"Yverdon-les-Bains\",\"canton_code\":\"VD\",\"canton\":\"Waadt\",\"type\":\"Kommerziell genutzte Liegenschaften\",\"chauffage\":\"Heiz\\u00f6l\",\"image\":\"SINZAyverdon_500w.jpg\",\"image_700\":\"SINZAyverdon_700w.jpg\",\"ratio_elvv\":\"6.41%\",\"ratio_elpr\":\"6.77%\",\"immeuble_vacant_periode\":\"0.00%\",\"immeuble_vacant_dernier_mois\":\"0.00%\",\"revenu_WZ\":\"57'150\",\"etat_locatif_annualise_EL\":\"57'150\",\"prix_revient_PR\":\"843'858\",\"valeur_venale_VV\":\"892'200\",\"el_ytd\":\"57'150\",\"ie_note\":null,\"ie_value\":0},{\"__id\":\"14577\",\"code\":\"15504\",\"designation\":\"Rue de Lo\\u00e8che 6\",\"_type\":\"385\",\"upload_image\":\"8v5Ujsion.jpg\",\"logements_nbr\":\"-\",\"logements_m2\":\"-\",\"commerces_nbr\":\"-\",\"commerces_m2\":\"385\",\"revenusLocatifsRealises\":0,\"elTheoriqueExercice\":57750,\"elTheoriqueEL\":57750,\"el_dernier_mois\":4812.5,\"prixDeRevientPR\":998886,\"valeurVenaleVV\":958300,\"vacDernMois\":4812.5,\"vacExercice\":57750,\"perte_locative_dernier_mois\":0,\"perte_locative_ytd\":0,\"co2_value\":0,\"co2_note\":null,\"idc_value\":0,\"idc_note\":null,\"photovoltaique\":0,\"longitude\":46.236558,\"latitude\":7.360953,\"isPPE\":0,\"isDDP\":0,\"nbTypologie1\":0,\"nbTypologie2\":0,\"nbTypologie3\":0,\"nbTypologie4\":0,\"nbTypologie5\":0,\"acquisition_date\":null,\"ville\":\"Sitten\",\"canton_code\":\"VS\",\"canton\":\"Wallis\",\"type\":\"Kommerziell genutzte Liegenschaften\",\"chauffage\":\"Heiz\\u00f6l\",\"image\":\"8v5Ujsion_500w.jpg\",\"image_700\":\"8v5Ujsion_700w.jpg\",\"ratio_elvv\":\"6.03%\",\"ratio_elpr\":\"5.78%\",\"immeuble_vacant_periode\":\"100.00%\",\"immeuble_vacant_dernier_mois\":\"100.00%\",\"revenu_WZ\":\"-\",\"etat_locatif_annualise_EL\":\"57'750\",\"prix_revient_PR\":\"998'886\",\"valeur_venale_VV\":\"958'300\",\"el_ytd\":\"57'750\",\"ie_note\":null,\"ie_value\":0}];console.log(items);<\/script><style>\n\t\/* Main map *\/\n\t#h1{\n\t\tmargin-bottom: 47px;\n\t}\n\t\n\t#map {\n\t\theight: 650px;\n\t\twidth: 100vw;\n\t\tposition: relative;\n\t\tleft: 50%;\n\t\tright: 50%;\n\t\tmargin-left: -50vw;\n\t\tmargin-right: -50vw;\n\t\tmargin-bottom: 125px;\n\t}\n\t\n\t@media only screen and (max-width: 1168px) {\n\t#map {\n\t\theight: 400px;\n\n\t\t}\n\t\t\n\t}\n\n\t\/* Buildings list *\/\n\t.grid-container {\n\t\tdisplay: grid;\n        grid-template-columns: 1fr 1fr 1fr;\n\t\tgrid-gap: 31px;\n\t\tmargin-top: 47px;\n        margin-bottom: 100px;\n\t}\n\n\t.grid-item {\n\t\tcursor: pointer;\n\t\t\/*border: 1px solid var(--e-global-color-primary);*\/\n\t\tbackground-color: #f9f9f9;\n\t\tborder-radius: 1px;\n\t\tpadding: 0px;\n\t\ttext-align: left;\n\t\tdisplay: flex;\n\t\t\/* Use flexbox to split the grid-item into two columns *\/\n\t\toverflow: hidden;\n\t\tfont-size: 14px;\n\t\ttransition: 200ms transform, 400ms background;\n\t}\n\n\t.grid-item:hover img {\n\t\ttransform: scale(1.15);\n\t\ttransition: 800ms transform;\n\t}\n\n\t.grid-item img {\n\t\tmax-width: 100%;\n\t\theight: 100%;\n\t\ttransition: 800ms transform;\n\t}\n\t\n\t.grid-item:hover{\n\t\tbackground-color: #e5e5e5;\n\t\ttransition: 400ms background;\n\t}\n\n\t.grid-item-column-image {\n\t\twidth: 40%;\n\t\toverflow:hidden;\n\t\t\/* 40% width for the image column *\/\n\t}\n\t\n\t.grid-item-column-image img{\n\t\t\/* width: 100%;\n\t\t   height: auto;*\/\n        min-width: 100%;\n        min-width: 100%;\n        object-fit: cover;\n        object-position: center;\n\t}\n\n\t.grid-item p {\n\t\tmargin: 0;\n\t}\n\n\t.grid-item-column-data {\n\t\tflex: 1;\n\t\t\/* Rest of the available width for the data column *\/\n\t\tpadding: 10px;\n\t\t\/* Padding for the data column *\/\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tjustify-content: space-between;\n\t\t\/* Align items evenly between top and bottom *\/\n\t\tcolor: black;\n\t}\n\n\t.text-top {\n\t\talign-self: flex-start; \/* Align text at the top of the right column *\/\n\t\tcolor: var(--e-global-color-primary);\n\t\tfont-family: \"Gotham\", Sans-serif;\n\t\tfont-weight: 400;\n\t\tfont-size: 14px;\n\t}\n\n\t.text-top .adresse{\n\t\tfont-weight: 500;\n\t\tfont-size: 16px;\n\t}\n\n\t.text-bottom {\n\t\talign-self: flex-end;\n\t\twidth:100%;\n\t\t\/* Align text at the bottom of the right column *\/\n\t}\n\n\/* Sidebar *\/\n#sidebar {\n    position: fixed;\n    top: 50%;\n    left: 50%;\n    transform: translate(-50%, -50%) scale(0); \/* Initial scale set to 0 *\/\n    width: 65vw;\n    height: 80vh;\n    background-color: #fff;\n    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);\n    z-index: 1000;\n    overflow: flex;\n    display: flex;\n    transition: transform 0.5s ease-in-out;\n}\n\n#sidebar.show {\n    display: flex;\n    transform: translate(-50%, -50%) scale(1); \/* Scale set to 1 when visible *\/\n}\n\n#overlay {\n    background-color: rgba(0, 0, 0, 0.8);\n    width: 100vw;\n    height: 100vh;\n    position: fixed;\n    top: 0;\n    left: 0;\n    z-index: 100;\n    opacity: 0;\n    transition: opacity 0.5s ease-in-out, visibility 0s;\n    visibility: hidden;\n}\n\n#overlay.show {\n    opacity: 1;\n\tvisibility: visible;\n}\n\n#sidebar-close {\n    position: absolute;\n    top: 14px;\n    right: 20px;\n    color: var(--e-global-color-primary);;\n    font-size: 25px;\n    text-align: center;\n    cursor: pointer;\n\tfont-family: \"glyphter\", Sans-serif;\n    font-weight: 400;\n\ttransform: rotate(45deg);\n\tdisplay: inline-block;\n}\n\t\n.map-icon{\n\tfont-family: \"glyphter\", Sans-serif;\n\tfont-size: 20px;\n\tdisplay: inline-block;\n\ttransform: scale(1);\n\ttransition: 300ms;\n\tcursor: pointer;\n}\n.image-icon{\n\tfont-family: \"glyphter\", Sans-serif;\n\tfont-size: 20px;\n\tdisplay: inline-block;\n\ttransform: scale(0);\n\ttransition: 300ms;\n\tmargin-left: -20px;\n\tcursor: pointer;\n}\n\t\n\t.image-icon.mapvisible{\n\t\t\ttransform: scale(1);\n\ttransition: 300ms;\n\n\t}\n\t.map-icon.mapvisible{\n\t\t\ttransform: scale(0);\n\ttransition: 300ms;\n\n\t}\n\t\n#sidebar-content {\n    height: 100%;\n}\n\n.left-column {\n    padding: 0;\n\tflex: 0 0 50%;\n}\n\n.right-column {\n    flex: 1;\n    padding: 62px;\n    overflow: auto;\n}\n\n#sidebar-slideshow {\n    text-align: center;\n    display: flex;\n    flex-direction: column;\n    justify-content: center;\n}\n\n#sidebar-content .slideshow-container {\n    height: auto;\n    width: 100%;\n    max-width: 70%;\n    margin: auto;\n    position: relative;\n}\n\n\n#sidebar-minimap {\n    height: 80vh;\n    width: 32.5vw;\n\tposition:fixed;\n\ttop:50%;\n\tleft:50%;\n    opacity:0;\n    visibility: hidden;\n    transition: opacity 0.5s ease-in-out, visibility 0s;\n    z-index: 1100;\n\ttransform: translate(-100%, -50%);\n}\n\n\t#sidebar-minimap-close-button{\n\t\tposition: absolute;\n    top: 14px;\n    right: 20px;\n    color: var(--e-global-color-primary);;\n    font-size: 25px;\n    text-align: center;\n    cursor: pointer;\n\tfont-family: \"glyphter\", Sans-serif;\n    font-weight: 400;\n\ttransform: rotate(45deg);\n\tdisplay: inline-block;\n\t\tz-index:99;\n\t}\n\t\n\t\n#sidebar-minimap.show{\n    opacity: 1;\n\tvisibility: visible;\n}\n\n#sidebar-other-content {\n    padding: 62px;\n    overflow: auto;\n}\n\n\/* Image slider for sidebar *\/\n#sidebar .slideshow-image {\n    display: none;\n    width: 100%;\n    height: 80vh;\n\tobject-fit: cover;\n    object-position: center center;\n}\n\n\/* Styles for the navigation arrows *\/\n#sidebar a.prev,\n#sidebar a.next {\n\tfont-family: \"glyphter\", Sans-serif;\n    font-weight: 400;\n\tcursor: pointer;\n    position: relative;\n    top: calc(-40vh - 25px);\n    width: auto;\n    padding: 10px;\n    color: white;\n    font-size: 30px;\n    transition: 0.6s ease;\n    border-radius: 0 3px 3px 0;\n    user-select: none;\n\ttransform: rotate(180deg);\n\tdisplay: inline-block;\n}\n\n#sidebar a.next {\n\ttransform: rotate(0deg);\n    left: calc(32.5vw - 103px);\n    border-radius: 3px 0 0 3px;\n}\n\n#sidebar a.prev:hover,\n#sidebar a.next:hover{\n    opacity:0.8;\n}\n\n\t\/* Filters *\/\n\n\t#filters-container {\n\t\tdisplay: flex;\n\t\talign-items: end;\n\t}\n\n\t.download-excel {\n\t\tmargin-left: auto;\n\t    color: var(--e-global-color-secondary);\n\t\tfont-size: 16px;\n\t\tcursor:pointer;\n\t\tmargin-bottom:0;\n\t}\n\t\n\t.realstone-icon{\n\t\tfont-family: \"glyphter\", Sans-serif;\n    \tfont-weight: 400;\n\t}\n\n\t#filters-container select {\n\t\twidth: inherit;\n\t\tborder-color: var(--e-global-color-primary);\n\t\tcolor: var(--e-global-color-primary);\n\t\tborder-width: 2px;\n\t\tfont-weight: 500;\n\t\tfont-size: 16px;\n\t\tdisplay: inline-block;\n\t\tmargin: 0px 15px 15px 0px;\n        padding: 5px 12px;\n\t\tcursor: pointer;\n\t\tborder-radius: 8px;\n\t\tfont-family: \"Gotham\", Sans-serif;\n\t\tfont-weight: 500;\n\t\ttext-align: left;\n\t}\n\n\t#filters-container select.filtered {\n        background-color: var(--e-global-color-primary);\n        color: #ffffff;\n\t}\n\n\t#filter-reset {\n\t\twidth: inherit;\n\t\tborder-color: var(--e-global-color-primary);\n\t\tbackground-color: var(--e-global-color-primary);\n        color: #ffffff;\n\t\tborder-width: 2px;\n\t\tfont-weight: 500;\n\t\tfont-size: 16px;\n\t\tmargin: 0px 15px 15px 0px;\n        padding: 5px 12px;\n\t\tdisplay: inline-block;\n\t\topacity: 0.5;\n\t\tborder-radius: 8px;\n\t\tfont-family: \"Gotham\", Sans-serif;\n\t\tfont-weight: 500;\n\t\ttext-align: left;\n\t\tline-height:22px;\n\t}\n\n\t#filter-reset.reset {\n\t\topacity: 1;\n\t}\n\n\t#filter-reset:hover {\n\t\tbackground-color: white;\n\t}\n\t\n\t.rsf{\n\t\tcolor: #00A2CB;\n\t}\n\t\n\tp.adresse{\n\t\tfont-family: \"Gotham\", Sans-serif;\n\t\tfont-weight: 500;\n\t\tfont-size: 25px;\n\t\tcolor:  var(--e-global-color-primary);\n\t}\n\t\n\tp.supadresse{\n\t\tfont-family: \"Gotham\", Sans-serif;\n\t\tfont-weight: 400;\n\t\tcolor:  var(--e-global-color-primary);\n\t\tmargin:0;\n\t\tfont-size:20px;\n\t}\n\t\n\t.data_title{\n\t\tfont-weight:600;\n\t}\n\t\n\t.line{\n\t\twidth:100%;\n    border-top: 1px solid rgb(51, 51, 51); \/* Add a 1px black border on top *\/\n\t}\n\t\n    .picto{\n        display:inline-table;\n    }\n    \n    .numericdata{\n        text-align:right;\n        display:table-cell;\n        vertical-align: middle;\n        padding-right:10px;\n        font-weight: 600;\n    }\n    \n    .numericdata .book{\n        font-weight: 400;\n    }\n    \n\/* Responsive *\/\n@media screen and (max-width: 767px) {\n.buildings .left-column {\n    padding: 0;\n    flex: 0 0 100%;\n    height: 40vh;\n}\n.grid-container {\n    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n}\n.buildings #sidebar.show {\n    display: block;\n}\n.buildings #sidebar {    \n    height: 100%;  \n    position: fixed;\n    width: 95vw;\n    overflow-y:scroll;\n}    \n.buildings #sidebar .slideshow-image {\n    height: 40vh;\n}\n.buildings .right-column {\n    padding: 20px 30px 5px;\n}\n.buildings #filters-container {\n    display: block;\n}\n}   \n<\/style>\n\n<div id=\"map\"><\/div>\n\n<div id=\"page-title\">\n\t<h1>Liegenschaften<\/h1>\n<\/div>\n\n<div id=\"filters-container\">\n\n\t<div id=\"filter-reset\" class=\"reset\">Alle<\/div>\n\n\t<select id=\"type-filter\">\n\t\t<option value=\"\">Alle Liegenschaftentyp<\/option>\n\t\t<option value=\"Kommerziell genutzte Liegenschaften\">Kommerziell genutzte Liegenschaften<\/option><option value=\"Gemischte Bauten\">Gemischte Bauten<\/option>\t<\/select>\n\n\t<select id=\"canton-filter\">\n\t\t<option value=\"\">Alle Kantone<\/option>\n\t\t<option value=\"Basel-Landschaft\">Basel-Landschaft<\/option><option value=\"Waadt\">Waadt<\/option><option value=\"Wallis\">Wallis<\/option>\t<\/select>\n\n\t<p class=\"download-excel\"><a href=\"https:\/\/realstone.ch\/wp-content\/uploads\/2024\/02\/RIF_Liegenschaftenbestand-zum-31.12.2024-ok.xlsx\" target=\"_blank\">Excel-Liste herunterladen <span class=\"realstone-icon\">G<\/span><\/a><\/p>\n\n<\/div>\n\n<div class=\"grid-container\" id=\"item-grid\"><\/div>\n\n<div id=\"sidebar\">\n\n\t<div id=\"sidebar-close\">H<\/div>\n\t\n\t<div class=\"left-column\">\n\t\n\t\t<div class=\"slideshow-container\">\n\t\t\t<!--<img decoding=\"async\" class=\"slideshow-image\" src=\"https:\/\/rapport.komunik.ch\/app\/uploads\/buildings\/500w\/k8bjmZH-Dallikon-Chilenaustr1925_4875_500w.jpg\" alt=\"Image 1\">\n\t\t\t<img decoding=\"async\" class=\"slideshow-image\" src=\"https:\/\/rapport.komunik.ch\/app\/uploads\/buildings\/500w\/IrgnsZH_Schaffhauserstrasse_Kloten-achats_page27_500w.jpg\" alt=\"Image 2\">\n\t\t\t<img decoding=\"async\" class=\"slideshow-image\" src=\"https:\/\/rapport.komunik.ch\/app\/uploads\/buildings\/500w\/T4oFAObermeilen-153_005_500w.jpg\" alt=\"Image 3\">-->\n\t\t<\/div>\n\t\t\t<!--<a class=\"prev\">F<\/a>\n\t\t\t<a class=\"next\">F<\/a>\n\t-->\n    <\/div>\n\n\t<div class=\"right-column\">\n\t\n\t\t<div id=\"sidebar-content\"><\/div>\n\t\t\t\n\t<\/div>\n\n<\/div>\n\n<div id=\"overlay\"><\/div>\n\n<div id=\"sidebar-minimap\">\n\t<div id=\"sidebar-minimap-close-button\">H<\/div>\n<\/div>\n\n<script>\n\tjQuery(function($) {\n\t$(document).ready(function() {\n\t\t\n\t\tlet attempts = 0;\n\t\tconst interval = setInterval(function() {\n\t\t\tif (typeof mapboxgl !== 'undefined') {\n\t\t\t\tclearInterval(interval);\n\t\t\t\tinitMapbox();\n\t\t\t} else if (++attempts > 10) {\n\t\t\t\tclearInterval(interval);\n\t\t\t\tconsole.error('MapboxGL not available after 10 attempts.');\n\t\t\t}\n\t\t}, 1000);\n\t\t\n\t\t\n\t\tfunction initMapbox(){\n\t\t\t\/\/ Initialize the Mapbox GL map\n\tmapboxgl.accessToken = 'pk.eyJ1IjoiaW1tZWRpYSIsImEiOiJjbGpkZjByY2UwNHp6M2xreTI0bmNiOTBhIn0.ybr7x4ZjCDzaobBKba-XFQ';\n\n\t\/\/ For minimap only\n\tconst markers = []; \/\/ Initialize an array to store the markers\n\n\tconst map = new mapboxgl.Map({\n\t\tcontainer: 'map',\n\t\tstyle: 'mapbox:\/\/styles\/immedia\/clkwk6pmu004x01pdbt7vf2f3',\n\t\tcenter: [6.632919, 46.515844],\n\t\tzoom: 8\n\t});\n\n\tconst minimap = new mapboxgl.Map({\n\t\tcontainer: 'sidebar-minimap',\n\t\tstyle: 'mapbox:\/\/styles\/immedia\/clkwk6pmu004x01pdbt7vf2f3',\n\t\tcenter: [6.632919, 46.515844],\n\t\tzoom: 12\n\t});\n        \n    map.scrollZoom.disable();    \n\t\/\/ Add zoom and rotation controls to the map\n\tmap.addControl(new mapboxgl.NavigationControl());\n\n\t\/\/ Create a GeoJSON feature collection for the items\n\tconst itemFeatures = items.map(item => ({\n\t\ttype: 'Feature',\n\t\tgeometry: {\n\t\t\ttype: 'Point',\n\t\t\tcoordinates: [item.longitude, item.latitude]\n\t\t},\n\t\tproperties: {\n\t\t\tcode: item.code,\n\t\t\ttitle: item.designation,\n\t\t\tdescription: item.designation,\n\t\t\ttype: item.type,\n\t\t\tvaleur_venale_VV: item.valeur_venale_VV,\n\t\t\tprix_revient_PR: item.prix_revient_PR,\n\t\t\timage: item.image\n\t\t}\n\t}));\n\n\t\/\/ Wait for the map to load\n\tmap.on('load', () => {\n\t\t\/\/ Add a GeoJSON source for the item markers\n\t\tmap.addSource('items', {\n\t\t\ttype: 'geojson',\n\t\t\tdata: {\n\t\t\t\ttype: 'FeatureCollection',\n\t\t\t\tfeatures: itemFeatures\n\t\t\t},\n\t\t\tcluster: true,\n\t\t\tclusterMaxZoom: 14,\n\t\t\tclusterRadius: 50,\n\t\t\tclusterProperties: {\n\t\t\t\t\"max\": [\"max\", 0, [\"get\", \"scalerank\"]],\n\t\t\t\t\"sum\": [\"+\", 0, [\"get\", \"scalerank\"]],\n\t\t\t\t\"has_island\": [\"any\", false, [\"==\", [\"get\", \"featureclass\"], \"island\"]]\n\t\t\t}\n\t\t});\n\n\t\t\/\/ Add a layer for the item clusters\n\t\tmap.addLayer({\n\t\t\tid: 'item-clusters',\n\t\t\ttype: 'circle',\n\t\t\tsource: 'items',\n\t\t\tfilter: ['has', 'point_count'],\n\t\t\tpaint: {\n\t\t\t\t\/\/ Use step expressions (https:\/\/docs.mapbox.com\/mapbox-gl-js\/style-spec\/#expressions-step)\n\t\t\t\t\/\/ with three steps to implement three types of circles:\n\t\t\t\t\/\/   * Blue, 20px circles when point count is less than 100\n\t\t\t\t\/\/   * Yellow, 30px circles when point count is between 100 and 750\n\t\t\t\t\/\/   * Pink, 40px circles when point count is greater than or equal to 750\n\t\t\t\t'circle-color': [\n\t\t\t\t\t'step',\n\t\t\t\t\t['get', 'point_count'],\n\t\t\t\t\t'#41c3d8',\n\t\t\t\t\t5,\n\t\t\t\t\t'#61c7d8',\n\t\t\t\t\t15,\n\t\t\t\t\t'#82ccd8'\n\t\t\t\t],\n\t\t\t\t'circle-radius': [\n\t\t\t\t\t'step',\n\t\t\t\t\t['get', 'point_count'],\n\t\t\t\t\t20,\n\t\t\t\t\t5,\n\t\t\t\t\t30,\n\t\t\t\t\t15,\n\t\t\t\t\t40\n\t\t\t\t]\n\t\t\t}\n\t\t});\n\n\t\tmap.addLayer({\n\t\t\tid: 'cluster-count',\n\t\t\ttype: 'symbol',\n\t\t\tsource: 'items',\n\t\t\tfilter: ['has', 'point_count'],\n\t\t\tlayout: {\n\t\t\t\t'text-field': ['get', 'point_count_abbreviated'],\n\t\t\t\t'text-font': ['DIN Offc Pro Medium', 'Arial Unicode MS Bold'],\n\t\t\t\t'text-size': 12\n\t\t\t},\n\t\t\tpaint: {\n\t\t\t\t'text-color': [\n\t\t\t\t\t'step',\n\t\t\t\t\t['get', 'point_count'],\n\t\t\t\t\t'#ffffff', \/\/ Font color when point count is less than 5\n\t\t\t\t\t5,\n\t\t\t\t\t'#ffffff', \/\/ Font color when point count is between 5 and 15\n\t\t\t\t\t15,\n\t\t\t\t\t'#ffffff' \/\/ Font color when point count is greater than or equal to 15\n\t\t\t\t]\n\t\t\t}\n\t\t});\n\n\t\tmap.addLayer({\n\t\t\tid: 'unclustered-point',\n\t\t\ttype: 'circle',\n\t\t\tsource: 'items',\n\t\t\tfilter: ['!', ['has', 'point_count']],\n\t\t\tpaint: {\n\t\t\t\t'circle-color': '#11b4da',\n\t\t\t\t'circle-radius': 8,\n\t\t\t\t'circle-stroke-width': 2,\n\t\t\t\t'circle-stroke-color': '#fff'\n\t\t\t}\n\t\t});\n\t\t\n\t\tlet tooltip = null;\n\n\t\t\/\/ Add tooltips for the item markers\n\t\tmap.on('mouseenter', 'unclustered-point', e => {\n\t\t\tconst coordinates = e.features[0].geometry.coordinates.slice();\n\n\t\t\tconst {\n\t\t\t\tcode\n\t\t\t} = e.features[0].properties;\n\n\t\t\tconst item = items.find(item => item.code == code);\n\n\t\t\tif (item) {\n\t\t\t\tconst tooltipContent = `\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<p style=\"margin:0;\">${item.ville}, ${item.canton_code}<br\/><strong style=\"font-size:1.2em;color:#004E90;\">${item.designation}<\/strong><br\/><span style=\"color: gray;\"><strong>Typ:<\/strong> ${item.type}<br\/><strong>Verkehrswert:<\/strong> ${item.valeur_venale_VV} CHF<\/span><\/p>\n\t\t\t\t\t<\/div>\n\t\t\t\t`;\n\n\t\t\t\tif (tooltip) {\n\t\t\t\t\ttooltip.remove();\n\t\t\t\t}\n\n\t\t\t\ttooltip = new mapboxgl.Popup({\n\t\t\t\t\t\tcloseButton: false\n\t\t\t\t\t})\n\t\t\t\t\t.setLngLat(coordinates)\n\t\t\t\t\t.setHTML(tooltipContent)\n\t\t\t\t\t.addTo(map);\n\t\t\t}\n\n\t\t});\n\n\t\tmap.on('mouseleave', 'unclustered-point', () => {\n\t\t\tif (tooltip) {\n\t\t\t\ttooltip.remove();\n\t\t\t\ttooltip = null;\n\t\t\t}\n\t\t});\n\n\t\t\/\/ Function to open the custom popup outside of the map\n\t\tfunction openCustomPopup(item) {\nconsole.log(item);\n\t\t\t\/\/ Add content to the popup\n\t\t\tconst photovoltaiqueLine = (item.photovoltaique > 0) ?\n                `<span class=\"data_title\">Photovoltaik-Leistung<\/span>: ${item.photovoltaique} kW<br\/>` :\n                '';\n\t\t\t\n\t\t\tconst ieLine = (item.ie_value > 0) ? `<div class=\"picto\" style=\"background: url(https:\/\/report.komunik.ch\/assets\/images\/pictos\/Realstone_picto_CO2.php?note=${item.co2_note}) no-repeat; width:115px;height: 32.6px;\">\n                        <div class=\"numericdata\">${item.ie_note} <span class=\"book\">${item.ie_value}<\/span><\/div>\n                    <\/div>` : '';\n\t\t\tconst co2Line = (item.co2_value > 0) ? `<div class=\"picto\" style=\"background: url(https:\/\/report.komunik.ch\/assets\/images\/pictos\/Realstone_picto_IE_de.php?note=${item.ie_note}) no-repeat; width: 115px;height: 32.6px;\">\n                        <div class=\"numericdata\">${item.co2_note} <span class=\"book\">${item.co2_value}<\/span><\/div>\n                    <\/div>` : '';\n\n            const sidebarContent = `<p class=\"supadresse\">${item.ville}, ${item.canton_code}<\/p>\n                <p class=\"adresse\">${item.designation} <span class=\"map-icon\">T<\/span><span class=\"image-icon\">U<\/span><\/p>\n                <p class=\"building_data\">\n                    <span class=\"data_title\">Typ<\/span>: ${item.type}<br\/>\n                    <span class=\"data_title\">Wohnungen (Anz.\/Fl\u00e4che)<\/span>: ${item.logements_nbr} \/ ${item.logements_m2} m<sup>2<\/sup><br\/>\n                    <span class=\"data_title\">Gesch\u00e4fte<\/span>: ${item.commerces_m2} m<sup>2<\/sup><br\/>\n                <\/p>\n                <p class=\"line\"> <\/p>\n                <p class=\"building_data\">\n                    <span class=\"data_title\">Mieteinnahmen<\/span>: ${item.revenu_WZ} CHF<br\/>\n                    <span class=\"data_title\">Mieterspiegel MS<\/span>: ${item.etat_locatif_annualise_EL} CHF<br\/>\n                    <span class=\"data_title\">Gestehungskosten GK<\/span>: ${item.prix_revient_PR} CHF<br\/>\n                    <span class=\"data_title\">Verkehrswert VW<\/span>: ${item.valeur_venale_VV} CHF<br\/>\n                <\/p>\n                <p class=\"line\"> <\/p>\n                <p class=\"building_data\">\n                    <span class=\"data_title\">Verh\u00e4ltnis MS\/VW<\/span>: ${item.ratio_elvv}<br\/>\n                    <span class=\"data_title\">Verh\u00e4ltnis MS\/GK<\/span>: ${item.ratio_elpr}<br\/>\n                    <span class=\"data_title\">Leerstand Berichtsperiode<\/span>: ${item.immeuble_vacant_periode}<br\/>\n                    <span class=\"data_title\">Leerstand (letzten Monat)<\/span>: ${item.immeuble_vacant_dernier_mois}\n                <\/p>\n                <p class=\"line\"> <\/p>\n                <p class=\"building_data\">\n                    <span class=\"data_title\">Heizung<\/span>: ${item.chauffage}<br\/>\n                    ${photovoltaiqueLine}\n                    ${co2Line}\n                    ${ieLine}\n                <\/p>\n            <\/div>`;\n\n\t\t\t\/\/ Add the popup element to the document body\n\t\t\t$(\"#sidebar-content\").html(sidebarContent);\n\t\t\t\n\t\t\tconst sidebarSlideShowContent = `<img decoding=\"async\" class=\"slideshow-image\" src=\"https:\/\/report.komunik.ch\/uploads\/buildings\/500w\/${item.image}\" alt=\"${item.designation}\">`;\n\t\t\t\/\/ for slideshow with > 1 photo, adjust by adding next image after previous\n\t\t\t\/\/ using scheme:\n\t\t\t\/\/ <img decoding=\"async\" class=\"slideshow-image\" src=\"https:\/\/rapport.komunik.ch\/app\/uploads\/buildings\/500w\/HrDJbGE-Geneve-Montchoisy7_8807-10_500w.jpg\" alt=\"${item.adresse}\">\n\t\t\t\t\n\t\t\t$(\".slideshow-container\").html(sidebarSlideShowContent);\n\t\t\t\t initSlideshow();\n\n\t\t\t\/\/ Loop through the markers array and remove each marker from the map\n\t\t\tfor (const marker of markers) {\n\t\t\t\tmarker.remove();\n\t\t\t}\n\n\t\t\t\/\/ Clear the markers array\n\t\t\tmarkers.length = 0;\n\n\t\t\t\/\/ Replace `item` with the actual item object containing `longitude` and `latitude`\n\t\t\tconst longitude = item.longitude;\n\t\t\tconst latitude = item.latitude;\n\n\t\t\t\/\/ Change the center of the map to the new coordinates\n\t\t\tminimap.setCenter([longitude, latitude]);\n\n\t\t\t\/\/ Add a new marker to the map with the new coordinates\n\t\t\tconst marker = new mapboxgl.Marker().setLngLat([longitude, latitude]).addTo(minimap);\n\n\t\t\t\/\/ Add the marker to the array\n\t\t\tmarkers.push(marker);\n\n\t\t\t\/\/ Add the marker to the array\n\n\t\t\t\/\/ Show sidebar\n\t\t\t$(\"#sidebar\").addClass(\"show\");\n\t\t\t$(\"#overlay\").addClass(\"show\");\n\t\t\t\/*\n\t\t\tsetTimeout(function() {\n                $('#sidebar-minimap').addClass('show');\n            }, 500);\n\t\t\t*\/\n\n\t\t}\n\t\t\n\t\t$(\"#sidebar\").on('click', '.map-icon', function() {\n\t\t\t$('#sidebar-minimap').addClass('show');\n\t\t\t$('.map-icon').addClass('mapvisible');\n\t\t\t$('.image-icon').addClass('mapvisible');\n\t\t});\n\t\t\n\t\t\n\t\t$(\"#sidebar\").on('click', '.image-icon', function() {\n\t\t\t$('#sidebar-minimap').removeClass('show');\n\t\t\t$('.map-icon').removeClass('mapvisible');\n\t\t\t$('.image-icon').removeClass('mapvisible');\n\t\t});\n\t\t\n\t\t$(\"#sidebar-minimap-close-button\").click(function() {\n\t\t\t$('#sidebar-minimap').removeClass('show');\n\t\t\t$('.map-icon').removeClass('mapvisible');\n\t\t\t$('.image-icon').removeClass('mapvisible');\n\t\t});\n\n\n\t\t\/\/ Function to close the custom popup\n\t\tfunction closeCustomPopup() {\n\t\t\t\/\/ Hide sidebar\n\t\t\t$(\"#sidebar\").removeClass(\"show\");\n\t\t\t$(\"#overlay\").removeClass(\"show\");\n\t\t\t$(\"#sidebar-minimap\").removeClass(\"show\");\n\t\t}\n\n\t\t\/\/ Add a click event listener to each grid item\n\t\t$('.grid-container').on('click', '.grid-item', function() {\n\t\t\tconst itemCode = $(this).data('code');\n\t\t\tconst item = items.find(item => item.code == itemCode);\n\t\t\tif (item) {\n\t\t\t\topenCustomPopup(item);\n\t\t\t}\n\t\t});\n\n\t\t\/\/ Add tooltips for the item markers\n\t\tmap.on('click', 'unclustered-point', e => {\n\t\t\tconst coordinates = e.features[0].geometry.coordinates.slice();\n\t\t\tconst {\n\t\t\t\tcode\n\t\t\t} = e.features[0].properties;\n\n\t\t\tconst item = items.find(item => item.code == code);\n\t\t\tif (item) {\n\t\t\t\topenCustomPopup(item);\n\t\t\t}\n\n\t\t});\n\n\t\t$(\"body\").on('click', '#overlay', function() {\n\t\t\tcloseCustomPopup();\n\t\t});\n\n\t\t$(\"body\").on('click', '#sidebar-close', function() {\n\t\t\tcloseCustomPopup();\n\t\t});\n\n\t\t\/\/ Update the type filter and filter the items\n\t\t$('#type-filter, #canton-filter').change(() => {\n\t\t\tupdateMapAndGrid(items);\n\t\t});\n\n\t\t$('#filter-reset').click(function() {\n\t\t\t$('#type-filter').val('');\n\t\t\t$('#canton-filter').val('');\n\t\t\tupdateMapAndGrid(items);\n\t\t});\n\n\t\t\/\/ Filter the item markers based on type\n\t\tfunction updateMapAndGrid(items) {\n\n\t\t\ttypeFilter = $('#type-filter').val();\n\t\t\tcantonFilter = $('#canton-filter').val();\n\n\t\t\tif (typeFilter == '') {\n\t\t\t\t$('#type-filter').removeClass(\"filtered\");\n\t\t\t} else {\n\t\t\t\t$('#type-filter').addClass(\"filtered\");\n\t\t\t}\n\n\t\t\tif (cantonFilter == '') {\n\t\t\t\t$('#canton-filter').removeClass(\"filtered\");\n\t\t\t} else {\n\t\t\t\t$('#canton-filter').addClass(\"filtered\");\n\t\t\t}\n\n\t\t\tif (cantonFilter == '' && typeFilter == '') {\n\t\t\t\t$(\"#filter-reset\").addClass(\"reset\");\n\t\t\t} else {\n\t\t\t\t$(\"#filter-reset\").removeClass(\"reset\");\n\t\t\t}\n\n\t\t\t\/\/ Filter the items based on type\n\t\t\tlet filteredItems = items;\n\t\t\tif (typeFilter && typeFilter !== '') {\n\t\t\t\tfilteredItems = filteredItems.filter(item => item.type === typeFilter);\n\t\t\t}\n\t\t\tif (cantonFilter && cantonFilter !== '') {\n\t\t\t\tfilteredItems = filteredItems.filter(item => item.canton === cantonFilter);\n\t\t\t}\n\n\t\t\t\/\/ Update the map with the filtered items\n\t\t\tmap.getSource('items').setData({\n\t\t\t\ttype: 'FeatureCollection',\n\t\t\t\tfeatures: filteredItems.map(item => ({\n\t\t\t\t\ttype: 'Feature',\n\t\t\t\t\tgeometry: {\n\t\t\t\t\t\ttype: 'Point',\n\t\t\t\t\t\tcoordinates: [item.longitude, item.latitude]\n\t\t\t\t\t},\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tcode: item.code,\n\t\t\t\t\t\ttitle: item.designation,\n\t\t\t\t\t\tdescription: item.designation,\n\t\t\t\t\t\ttype: item.type,\n\t\t\t\t\t\tvaleur_venale_VV: item.valeur_venale_VV,\n\t\t\t\t\t\tprix_revient_PR: item.prix_revient_PR,\n\t\t\t\t\t\timage: item.image,\n\t\t\t\t\t\timage_700: item.image_700\n\t\t\t\t\t}\n\t\t\t\t}))\n\t\t\t});\n\n\t\t\t\/\/ Update the items array with the filtered items\n\t\t\titems = filteredItems;\n\n\t\t\t\/\/ Update the grid with the filtered items\n\t\t\tupdateGrid(filteredItems);\n\t\t}\n\n\t\t\/\/ Update the grid with the filtered items\n\t\tfunction updateGrid(filteredItems) {\n\t\t\t\/\/ Clear the existing grid items\n\t\t\t$('#item-grid').empty();\n\n\t\t\t\/\/ Generate HTML for each item in the filtered items\n\t\t\tfilteredItems.forEach(item => {\n\n\t\t\t\tconst gridItemHTML = `\n\t\t<div class=\"grid-item\" data-code=\"${item.code}\" data-type=\"${item.type}\">\n\t\t\t<div class=\"grid-item-column-image\">\n\t\t\t\t<img decoding=\"async\" src=\"https:\/\/report.komunik.ch\/uploads\/buildings\/700w\/${item.image_700}\" alt=\"${item.designation}\" loading=\"lazy\">\n\t\t\t<\/div>\n\t\t\t<div class=\"grid-item-column-data\">\n\t\t\t\t<p class=\"text-top\">\n\t\t\t\t<span>${item.ville}, ${item.canton_code}<\/span><br\/>\n\t\t\t\t<span class=\"adresse\">${item.designation}<\/span><\/p>\n\t\t\t\t<p class=\"text-bottom\">\n\t\t\t\t\t<span style=\"font-weight:500;\">Typ:<\/span> ${item.type}<br\/>\n\t\t\t\t\t<span style=\"font-weight:500;\">Verkehrswert:<\/span> ${item.valeur_venale_VV}<br\/>\n\t\t\t\t\t<span style=\"font-weight:500;\">Verh\u00e4ltnis MS\/VW:<\/span> ${item.ratio_elvv}<br\/>\n\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t<\/div>\n\t`;\n\t\t\t\t$('#item-grid').append(gridItemHTML);\n\t\t\t\n\t\t\t});\n\t\t}\n\n\t\t\/\/ Initial update of the grid\n\t\tupdateGrid(items);\n\n\t});\n\n    \/\/ Function to initialize slideshow\n    function initSlideshow() {\n        let slideIndex = 1;\n        showSlides(slideIndex);\n\n        function plusSlides(n) {\n            showSlides(slideIndex += n);\n        }\n\n        function currentSlide(n) {\n            showSlides(slideIndex = n);\n        }\n\n        function showSlides(n) {\n            const slides = $(\".slideshow-image\");\n\n            if (n > slides.length) {\n                slideIndex = 1;\n            }\n            if (n < 1) {\n                slideIndex = slides.length;\n            }\n\n            slides.hide();\n\n            slides.eq(slideIndex - 1).show();\n        }\n\t\t\n\t\t\/\/ Click event for previous arrow\n        $(\".prev\").on(\"click\", function() {\n            plusSlides(-1);\n        });\n\n        \/\/ Click event for next arrow\n        $(\".next\").on(\"click\", function() {\n            plusSlides(1);\n        });\n    }\n\t\t\n    \/\/ Call the initSlideshow function\n    initSlideshow();\n\t\t}\n\t\n\t\n});\n });\n<\/script><\/div>\n\t\t\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>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":35247,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-35902","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Liegenschaften - Realstone<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/realstone.ch\/de\/loesungen\/realstone-industrial-fund\/liegenschaften\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Liegenschaften - Realstone\" \/>\n<meta property=\"og:url\" content=\"https:\/\/realstone.ch\/de\/loesungen\/realstone-industrial-fund\/liegenschaften\/\" \/>\n<meta property=\"og:site_name\" content=\"Realstone\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-02T09:53:42+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/realstone.ch\\\/de\\\/loesungen\\\/realstone-industrial-fund\\\/liegenschaften\\\/\",\"url\":\"https:\\\/\\\/realstone.ch\\\/de\\\/loesungen\\\/realstone-industrial-fund\\\/liegenschaften\\\/\",\"name\":\"Liegenschaften - Realstone\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/realstone.ch\\\/de\\\/#website\"},\"datePublished\":\"2023-08-14T14:50:49+00:00\",\"dateModified\":\"2026-03-02T09:53:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/realstone.ch\\\/de\\\/loesungen\\\/realstone-industrial-fund\\\/liegenschaften\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/realstone.ch\\\/de\\\/loesungen\\\/realstone-industrial-fund\\\/liegenschaften\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/realstone.ch\\\/de\\\/loesungen\\\/realstone-industrial-fund\\\/liegenschaften\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/realstone.ch\\\/de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"L\u00f6sungen\",\"item\":\"https:\\\/\\\/realstone.ch\\\/de\\\/solutions\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Realstone Industrial Fund\",\"item\":\"https:\\\/\\\/realstone.ch\\\/de\\\/solutions\\\/realstone-industrial-fund\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Liegenschaften\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/realstone.ch\\\/de\\\/#website\",\"url\":\"https:\\\/\\\/realstone.ch\\\/de\\\/\",\"name\":\"Realstone\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/realstone.ch\\\/de\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/realstone.ch\\\/de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/realstone.ch\\\/de\\\/#organization\",\"name\":\"Realstone\",\"url\":\"https:\\\/\\\/realstone.ch\\\/de\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/realstone.ch\\\/de\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/realstone.ch\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/Logo_Realstone_bleu.svg\",\"contentUrl\":\"https:\\\/\\\/realstone.ch\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/Logo_Realstone_bleu.svg\",\"width\":283,\"height\":29,\"caption\":\"Realstone\"},\"image\":{\"@id\":\"https:\\\/\\\/realstone.ch\\\/de\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/company\\\/realstone-group\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Liegenschaften - Realstone","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/realstone.ch\/de\/loesungen\/realstone-industrial-fund\/liegenschaften\/","og_locale":"de_DE","og_type":"article","og_title":"Liegenschaften - Realstone","og_url":"https:\/\/realstone.ch\/de\/loesungen\/realstone-industrial-fund\/liegenschaften\/","og_site_name":"Realstone","article_modified_time":"2026-03-02T09:53:42+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/realstone.ch\/de\/loesungen\/realstone-industrial-fund\/liegenschaften\/","url":"https:\/\/realstone.ch\/de\/loesungen\/realstone-industrial-fund\/liegenschaften\/","name":"Liegenschaften - Realstone","isPartOf":{"@id":"https:\/\/realstone.ch\/de\/#website"},"datePublished":"2023-08-14T14:50:49+00:00","dateModified":"2026-03-02T09:53:42+00:00","breadcrumb":{"@id":"https:\/\/realstone.ch\/de\/loesungen\/realstone-industrial-fund\/liegenschaften\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/realstone.ch\/de\/loesungen\/realstone-industrial-fund\/liegenschaften\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/realstone.ch\/de\/loesungen\/realstone-industrial-fund\/liegenschaften\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/realstone.ch\/de\/"},{"@type":"ListItem","position":2,"name":"L\u00f6sungen","item":"https:\/\/realstone.ch\/de\/solutions\/"},{"@type":"ListItem","position":3,"name":"Realstone Industrial Fund","item":"https:\/\/realstone.ch\/de\/solutions\/realstone-industrial-fund\/"},{"@type":"ListItem","position":4,"name":"Liegenschaften"}]},{"@type":"WebSite","@id":"https:\/\/realstone.ch\/de\/#website","url":"https:\/\/realstone.ch\/de\/","name":"Realstone","description":"","publisher":{"@id":"https:\/\/realstone.ch\/de\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/realstone.ch\/de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Organization","@id":"https:\/\/realstone.ch\/de\/#organization","name":"Realstone","url":"https:\/\/realstone.ch\/de\/","logo":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/realstone.ch\/de\/#\/schema\/logo\/image\/","url":"https:\/\/realstone.ch\/wp-content\/uploads\/2023\/06\/Logo_Realstone_bleu.svg","contentUrl":"https:\/\/realstone.ch\/wp-content\/uploads\/2023\/06\/Logo_Realstone_bleu.svg","width":283,"height":29,"caption":"Realstone"},"image":{"@id":"https:\/\/realstone.ch\/de\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/realstone-group\/"]}]}},"_links":{"self":[{"href":"https:\/\/realstone.ch\/de\/wp-json\/wp\/v2\/pages\/35902","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/realstone.ch\/de\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/realstone.ch\/de\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/realstone.ch\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/realstone.ch\/de\/wp-json\/wp\/v2\/comments?post=35902"}],"version-history":[{"count":2,"href":"https:\/\/realstone.ch\/de\/wp-json\/wp\/v2\/pages\/35902\/revisions"}],"predecessor-version":[{"id":42454,"href":"https:\/\/realstone.ch\/de\/wp-json\/wp\/v2\/pages\/35902\/revisions\/42454"}],"up":[{"embeddable":true,"href":"https:\/\/realstone.ch\/de\/wp-json\/wp\/v2\/pages\/35247"}],"wp:attachment":[{"href":"https:\/\/realstone.ch\/de\/wp-json\/wp\/v2\/media?parent=35902"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}