{"id":3507,"date":"2023-11-14T11:12:41","date_gmt":"2023-11-14T10:12:41","guid":{"rendered":"https:\/\/www.cleantech-alps.com\/cleantech-players-in-western-switzerland\/"},"modified":"2024-03-04T13:34:43","modified_gmt":"2024-03-04T12:34:43","slug":"cleantech-players-in-western-switzerland","status":"publish","type":"page","link":"https:\/\/www.cleantech-alps.com\/en\/cleantech-players-in-western-switzerland\/","title":{"rendered":"Cleantech players in Western Switzerland"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"3507\" class=\"elementor elementor-3507 elementor-1305\" data-elementor-post-type=\"page\">\n\t\t\t\t<div data-particle_enable=\"false\" data-particle-mobile-disabled=\"false\" class=\"elementor-element elementor-element-345d348 e-flex e-con-boxed e-con e-parent\" data-id=\"345d348\" 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-ae95942 elementor-widget elementor-widget-shortcode\" data-id=\"ae95942\" 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\"><!--<link href=\"--><!--\" rel=\"stylesheet\" \/>-->\n<!--<link href=\"--><!--\" rel=\"stylesheet\" \/>-->\n<link href=\"https:\/\/www.cleantech-alps.com\/wp-content\/plugins\/valdev-annuaire-plateforme\/template\/list_actors\/..\/..\/assets\/css\/list.css\" rel=\"stylesheet\"\/>\n<!--<link href=\"--><!--\" rel=\"stylesheet\" \/>-->\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/vue@2.6.14\/dist\/vue.min.js\"><\/script>\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/axios@0.27.2\/dist\/axios.min.js\"><\/script>\n<!--<script src=\"--><!--\"><\/script>-->\n<!--<script src=\"--><!--\"><\/script>-->\n\n<div id='divWpVue'>\n    <a href=\"\/en\/register-your-company-start-up\/\" class=\"button\">advertise your company<\/a>\n\n    <form @submit=\"submitForm\">\n        <div class=\"field\">\n          <div class=\"label-input\">Keywords<\/div>\n          <input v-model=\"search.keywords\" type=\"text\" name=\"keywords\" placeholder=\"\">\n        <\/div>\n        \n        <div class=\"field\">\n          <div class=\"label-input\">Category<\/div>\n            <select v-model=\"search.sector\">\n                <option disabled selected :value=\"null\">Domain<\/option>\n                <option v-for=\"sector in sectors\" :value=\"sector.id\">{{ sector.text }}<\/option>\n            <\/select>\n        <\/div>\n\n        <div class=\"field\">\n          <div class=\"label-input\">\n            <div class=\"label-input\">Canton<\/div>\n          <\/div>\n          <select v-model=\"search.cantons\">\n              <option disabled selected :value=\"null\">Cantons<\/option>\n              <option v-for=\"canton in cantons\" :value=\"canton\">{{ canton }}<\/option>\n          <\/select>\n        <\/div>\n\n        <div class=\"button-ctn\">\n          <button type=\"submit\">Search<\/button>\n          <button class=\"reset-btn\" type=\"button\" @click=\"resetFilters\">Effacer<\/button>\n        <\/div>\n\n    <\/form>\n\n<!--    <div style=\"width: 100%;min-height: 600px;\" id=\"map\"><\/div>-->\n    <div v-if=\"loading\">\n        Loading...    <\/div>\n    <div v-else>\n        <h2 class=\"search-ttle\">Search results<\/h2>\n        <p class=\"nbr-company\">{{ companies.length }} Companies found<\/p>\n        <div class=\"company-list two-col\" v-for=\"company in companies\">\n            <div class=\"img-ctn\">\n                <a rel=\"nofollow\" :href=\"'\/en\/company?c=' + company.url.substring(1)\"><img :src=\"company.img\" :alt=\"company.resume\"><\/a>\n            <\/div>\n            <div class=\"text-ctn\">\n                <a rel=\"nofollow\" :href=\"'\/en\/company?c=' + company.url.substring(1)\"><h2>{{ company.title }}<\/h2><\/a>\n                <p>{{ company.resume }}<\/p>\n                <p><label v-for=\"sector in company.sector\">| {{ sector }} <\/label><\/p>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n\n<script>\n\n    \/\/ start app\n    new Vue({\n        el: \"#divWpVue\",\n        data: {\n            companies: [],\n            cantons: [],\n            sectors: [],\n            loading: false,\n            search: {\n                keywords: '',\n                cantons: null,\n                sector: null\n            },\n            search_model: {\n                keywords: '',\n                cantons: null,\n                sector: null\n            },\n            \/\/map: {\n            \/\/    element: {},\n            \/\/    markers : null,\n            \/\/    zoom: 8,\n            \/\/    maxZoom: 9,\n            \/\/    minZoom: 7,\n            \/\/    locations: [],\n            \/\/    centre: [46.80111, 8.22667],\n            \/\/    icon: L.icon({\n            \/\/        iconUrl: \"\/\/\",\n            \/\/        iconSize: [27, 43],\n            \/\/    }),\n            \/\/}\n        },\n        mounted(){\n            \/\/ let _this = this\n            \/\/ _this.map.element = L.map('map', {\n            \/\/     center: _this.map.centre,\n            \/\/     zoom: _this.map.zoom,\n            \/\/     maxZoom: _this.map.maxZoom\n            \/\/ });\n            \/\/ _this.map.markers = L.markerClusterGroup()\n        },\n        created() {\n            this.init();\n        },\n        methods: {\n            init() {\n                let _this = this\n\n                \/\/ setTimeout(function (){\n                \/\/\n                \/\/     L.tileLayer('https:\/\/tile.osm.ch\/switzerland\/{z}\/{x}\/{y}.png', {\n                \/\/         maxZoom: _this.map.maxZoom,\n                \/\/         minZoom: _this.map.minZoom,\n                \/\/         visible : true\n                \/\/     }).addTo(_this.map.element);\n                \/\/\n                \/\/     const resizeEvent = new Event('resize');\n                \/\/     window.dispatchEvent(resizeEvent);\n                \/\/\n                \/\/ }, 200);\n\n                _this.filter()\n                this.cantons = [\"FR\",\"GE\",\"VD\",\"VS\",\"NE\",\"JU\"];\n                this.sectors = [{\"id\":\"2307\",\"text\":\"Small-scale hydraulic energy\"},{\"id\":\"2308\",\"text\":\"Photovoltaic energy\"},{\"id\":\"2309\",\"text\":\"Waste recovery\"},{\"id\":\"2310\",\"text\":\"Water\"},{\"id\":\"2311\",\"text\":\"Smart grids\"},{\"id\":\"2312\",\"text\":\"Industrial ecology\"},{\"id\":\"2313\",\"text\":\"Energy efficiency\"},{\"id\":\"2933\",\"text\":\"Eco-mobility\"},{\"id\":\"2934\",\"text\":\"Enabling technologies\"},{\"id\":\"2314\",\"text\":\"Other\"}];\n\n            },\n            submitForm(e) {\n                e.preventDefault()\n                this.filter()\n            },\n            filter() {\n                let _this = this\n                _this.loading = true\n\n                \/\/ if(_this.map.markers !== null)\n                \/\/     _this.map.markers.clearLayers();\n\n                axios.post('\/wp-json\/cta\/v1\/search-actors', this.search)\n                    .then(response => {\n                        _this.companies = JSON.parse(response.data.data)\n                        for (const item of _this.companies) {\n                            if (item.img === '')\n                                item.img = \"https:\/\/www.cleantech-alps.com\/wp-content\/plugins\/valdev-annuaire-plateforme\/template\/list_actors\/..\/..\/media\/no-pic.png\"\n\n                            if (item.geocoord === ''){\n                                item.display_map = false\n                            }else{\n                                \/\/item.cordonnee = item.geocoord.split(',')\n                                \/\/let layer = L.marker(item.cordonnee,{\n                                \/\/    icon : _this.map.icon\n                                \/\/});\n                                \/\/let popup = L.popup()\n                                \/\/    .setContent('<h2>' + item.title + '<\/h2>' +\n                                \/\/    '<a href=\"\/entreprises\/details\/' + item.url + '\" target=\"_blank\">\/\/<\/a>')\n                                \/\/\n                                \/\/layer.bindPopup(popup).openPopup();\n                                \/\/_this.map.markers.addLayer(layer);\n                            }\n\n                        }\n                    })\n                    .catch(function (response) {\n                        console.log(response)\n                    })\n                    .finally(function () {\n                        _this.loading = false\n                        \/\/ _this.map.element.addLayer(_this.map.markers);\n                    })\n            },\n            resetFilters() {\n                this.search = {...this.search_model}\n                this.filter()\n            }\n        }\n    })\n\n<\/script>\n<\/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":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-3507","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Cleantech players in Western Switzerland - CleantechAlps<\/title>\n<meta name=\"description\" content=\"Be part of a network and a strong community in the world of clean technologies and sustainability.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.cleantech-alps.com\/en\/cleantech-players-in-western-switzerland\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cleantech players in Western Switzerland - CleantechAlps\" \/>\n<meta property=\"og:description\" content=\"Be part of a network and a strong community in the world of clean technologies and sustainability.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cleantech-alps.com\/en\/cleantech-players-in-western-switzerland\/\" \/>\n<meta property=\"og:site_name\" content=\"CleantechAlps\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-04T12:34:43+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@cleantechalps\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.cleantech-alps.com\\\/en\\\/cleantech-players-in-western-switzerland\\\/\",\"url\":\"https:\\\/\\\/www.cleantech-alps.com\\\/en\\\/cleantech-players-in-western-switzerland\\\/\",\"name\":\"Cleantech players in Western Switzerland - CleantechAlps\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cleantech-alps.com\\\/en\\\/#website\"},\"datePublished\":\"2023-11-14T10:12:41+00:00\",\"dateModified\":\"2024-03-04T12:34:43+00:00\",\"description\":\"Be part of a network and a strong community in the world of clean technologies and sustainability.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.cleantech-alps.com\\\/en\\\/cleantech-players-in-western-switzerland\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.cleantech-alps.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.cleantech-alps.com\\\/en\\\/\",\"name\":\"CleantechAlps\",\"description\":\"Western Switzerland Sustainability Cluster\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.cleantech-alps.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.cleantech-alps.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.cleantech-alps.com\\\/en\\\/#organization\",\"name\":\"Cleantech Alps\",\"url\":\"https:\\\/\\\/www.cleantech-alps.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.cleantech-alps.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.cleantech-alps.com\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/CleantechAlps.svg\",\"contentUrl\":\"https:\\\/\\\/www.cleantech-alps.com\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/CleantechAlps.svg\",\"caption\":\"Cleantech Alps\"},\"image\":{\"@id\":\"https:\\\/\\\/www.cleantech-alps.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/cleantechalps\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cleantech players in Western Switzerland - CleantechAlps","description":"Be part of a network and a strong community in the world of clean technologies and sustainability.","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:\/\/www.cleantech-alps.com\/en\/cleantech-players-in-western-switzerland\/","og_locale":"en_US","og_type":"article","og_title":"Cleantech players in Western Switzerland - CleantechAlps","og_description":"Be part of a network and a strong community in the world of clean technologies and sustainability.","og_url":"https:\/\/www.cleantech-alps.com\/en\/cleantech-players-in-western-switzerland\/","og_site_name":"CleantechAlps","article_modified_time":"2024-03-04T12:34:43+00:00","twitter_card":"summary_large_image","twitter_site":"@cleantechalps","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.cleantech-alps.com\/en\/cleantech-players-in-western-switzerland\/","url":"https:\/\/www.cleantech-alps.com\/en\/cleantech-players-in-western-switzerland\/","name":"Cleantech players in Western Switzerland - CleantechAlps","isPartOf":{"@id":"https:\/\/www.cleantech-alps.com\/en\/#website"},"datePublished":"2023-11-14T10:12:41+00:00","dateModified":"2024-03-04T12:34:43+00:00","description":"Be part of a network and a strong community in the world of clean technologies and sustainability.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cleantech-alps.com\/en\/cleantech-players-in-western-switzerland\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.cleantech-alps.com\/en\/#website","url":"https:\/\/www.cleantech-alps.com\/en\/","name":"CleantechAlps","description":"Western Switzerland Sustainability Cluster","publisher":{"@id":"https:\/\/www.cleantech-alps.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.cleantech-alps.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.cleantech-alps.com\/en\/#organization","name":"Cleantech Alps","url":"https:\/\/www.cleantech-alps.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.cleantech-alps.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.cleantech-alps.com\/wp-content\/uploads\/2020\/11\/CleantechAlps.svg","contentUrl":"https:\/\/www.cleantech-alps.com\/wp-content\/uploads\/2020\/11\/CleantechAlps.svg","caption":"Cleantech Alps"},"image":{"@id":"https:\/\/www.cleantech-alps.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/cleantechalps"]}]}},"_links":{"self":[{"href":"https:\/\/www.cleantech-alps.com\/en\/wp-json\/wp\/v2\/pages\/3507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cleantech-alps.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.cleantech-alps.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.cleantech-alps.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cleantech-alps.com\/en\/wp-json\/wp\/v2\/comments?post=3507"}],"version-history":[{"count":1,"href":"https:\/\/www.cleantech-alps.com\/en\/wp-json\/wp\/v2\/pages\/3507\/revisions"}],"predecessor-version":[{"id":3508,"href":"https:\/\/www.cleantech-alps.com\/en\/wp-json\/wp\/v2\/pages\/3507\/revisions\/3508"}],"wp:attachment":[{"href":"https:\/\/www.cleantech-alps.com\/en\/wp-json\/wp\/v2\/media?parent=3507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}