{"id":36701,"date":"2023-10-31T07:40:00","date_gmt":"2023-10-31T07:40:00","guid":{"rendered":"https:\/\/ct1com.wpengine.com\/forgreninger\/"},"modified":"2024-07-26T09:04:46","modified_gmt":"2024-07-26T08:04:46","slug":"stockists","status":"publish","type":"page","link":"https:\/\/www.ct1.com\/da\/stockists\/","title":{"rendered":"Stockists"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"36701\" class=\"elementor elementor-36701 elementor-36309\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-2428835 elementor-hidden-desktop elementor-hidden-tablet elementor-hidden-mobile e-flex e-con-boxed e-con e-parent\" data-id=\"2428835\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;ekit_has_onepagescroll_dot&quot;:&quot;yes&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-5b1b19e e-con-full e-flex e-con e-parent\" data-id=\"5b1b19e\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;ekit_has_onepagescroll_dot&quot;:&quot;yes&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6ac5f44 elementor-widget elementor-widget-heading\" data-id=\"6ac5f44\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Location<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4410862 elementor-widget elementor-widget-html\" data-id=\"4410862\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"test\">\n    <input type=\"text\" id=\"addressInput\" placeholder=\"Enter address\"><br><br>\n  <button onclick=\"searchHospitals()\">Search<\/button>\n<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-7e86900 e-con-full e-flex e-con e-parent\" data-id=\"7e86900\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;ekit_has_onepagescroll_dot&quot;:&quot;yes&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-8eaeb35 elementor-widget elementor-widget-html\" data-id=\"8eaeb35\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<style>\n    #map {\n      height: 650px;\n      width: 100%;\n    }\n  <\/style>\n\n<div id=\"map\"><\/div>\n\n<script>\n    \/\/ Initialize and display the map\n    function initMap() {\n      var map = new google.maps.Map(document.getElementById('map'), {\n        center: {lat: 45.4215, lng: -75.6972},\n        zoom: 12\n      });\n\n      var input = document.getElementById('addressInput');\n      var autocomplete = new google.maps.places.Autocomplete(input);\n    }\n\n    function searchHospitals() {\n      var addressInput = document.getElementById('addressInput').value;\n\n      var geocoder = new google.maps.Geocoder();\n\n      geocoder.geocode({ 'address': addressInput }, function(results, status) {\n        if (status === google.maps.GeocoderStatus.OK) {\n          var latitude = results[0].geometry.location.lat();\n          var longitude = results[0].geometry.location.lng();\n          var latlng = new google.maps.LatLng(latitude, longitude);\n\n          var map = new google.maps.Map(document.getElementById('map'), {\n            center: latlng,\n            zoom: 12\n          });\n\n          var request = {\n            location: latlng,\n            radius: '5000',\n            type: ['hospital','lab'],\n            country: ['us', 'ca'],\n            icon: 'https:\/\/migration.bio-test.ca\/wp-content\/uploads\/2023\/05\/hospital.png'\n          };\n\n          var service = new google.maps.places.PlacesService(map);\n\n          service.nearbySearch(request, function(results, status) {\n            if (status === google.maps.places.PlacesServiceStatus.OK) {\n              \/\/ Clear previous markers from the map\n              var markers = [];\n              results.forEach(function(result) {\n                var marker = new google.maps.Marker({\n                  position: result.geometry.location,\n                  map: map,\n                  title: result.name,\n                  country: ['us', 'ca'],\n                  icon: 'https:\/\/migration.bio-test.ca\/wp-content\/uploads\/2023\/05\/hospital.png' \/\/ Replace with the path to your custom icon image\n                });\n                var contentString = '<div><strong>' + result.name + '<\/strong><\/div>' +\n                                    '<div>' + result.vicinity + '<\/div>'; \/\/ Complete address\n\n                var infowindow = new google.maps.InfoWindow({\n                  content: contentString\n                });\n\n                marker.addListener('click', function() {\n                  infowindow.open(map, marker);\n                });\n\n                markers.push(marker);\n              });\n\n              \/\/ Show all markers within bounds\n              var bounds = new google.maps.LatLngBounds();\n              markers.forEach(function(marker) {\n                bounds.extend(marker.getPosition());\n              });\n              map.fitBounds(bounds);\n            }\n          });\n        } else {\n          alert('Geocode was not successful for the following reason: ' + status);\n        }\n      });\n    }\n  <\/script>\n\n  <!-- Include the Google Maps JavaScript API -->\n  <script src=\"https:\/\/maps.googleapis.com\/maps\/api\/js?key=AIzaSyAFtCeCUYm6K1QXujT_m17aRvbC9hRxr2k&libraries=places&callback=initMap&v=weekly\" async defer><\/script>\t\t\t\t<\/div>\n\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<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2663ff9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2663ff9\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;ekit_has_onepagescroll_dot&quot;:&quot;yes&quot;}\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8f88e68\" data-id=\"8f88e68\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t<div class=\"elementor-element elementor-element-b74fe92 e-flex e-con-boxed e-con e-parent\" data-id=\"b74fe92\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;ekit_has_onepagescroll_dot&quot;:&quot;yes&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-b7c2b74 elementor-widget elementor-widget-shortcode\" data-id=\"b7c2b74\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;ekit_we_effect_on&quot;:&quot;none&quot;}\" 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\"><style>\r\n\t#wpsl-stores .wpsl-store-thumb {height:45px !important; width:45px !important;}\r\n\t#wpsl-stores, #wpsl-direction-details, #wpsl-gmap {height:350px !important;}\r\n\t#wpsl-gmap .wpsl-info-window {max-width:225px !important;}\r\n\t.wpsl-input label, #wpsl-radius label, #wpsl-category label {width:95px;}\r\n\t#wpsl-search-input  {width:179px;}\r\n<\/style>\r\n<div id=\"wpsl-wrap\">\r\n\t<div class=\"wpsl-search wpsl-clearfix wpsl-no-filters\">\r\n\t\t<div id=\"wpsl-search-wrap\">\r\n\t\t\t<form autocomplete=\"off\">\r\n\t\t\t<div class=\"wpsl-input\">\r\n\t\t\t\t<div><label for=\"wpsl-search-input\">Your location<\/label><\/div>\r\n\t\t\t\t<input id=\"wpsl-search-input\" type=\"text\" value=\"\" name=\"wpsl-search-input\" placeholder=\"\" aria-required=\"true\" \/>\r\n\t\t\t<\/div>\r\n\t\t\t\t<div class=\"wpsl-search-btn-wrap\"><input id=\"wpsl-search-btn\" type=\"submit\" value=\"Search\"><\/div>\r\n\t\t<\/form>\r\n\t\t<\/div>\r\n\t<\/div>\r\n\t<div id=\"wpsl-gmap\" class=\"wpsl-gmap-canvas\"><\/div>\r\n\t<div id=\"wpsl-result-list\">\r\n\t\t<div id=\"wpsl-stores\" >\r\n\t\t\t<ul><\/ul>\r\n\t\t<\/div>\r\n\t\t<div id=\"wpsl-direction-details\">\r\n\t\t\t<ul><\/ul>\r\n\t\t<\/div>\r\n\t<\/div>\r\n<\/div>\r\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":"<p>Location Search<\/p>\n","protected":false},"author":19,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-36701","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>Stockists - CT1<\/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:\/\/www.ct1.com\/da\/stockists\/\" \/>\n<meta property=\"og:locale\" content=\"da_DK\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Stockists - CT1\" \/>\n<meta property=\"og:description\" content=\"Location Search\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ct1.com\/da\/stockists\/\" \/>\n<meta property=\"og:site_name\" content=\"CT1\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-26T08:04:46+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:\\\/\\\/www.ct1.com\\\/da\\\/stockists\\\/\",\"url\":\"https:\\\/\\\/www.ct1.com\\\/da\\\/stockists\\\/\",\"name\":\"Stockists - CT1\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ct1.com\\\/#website\"},\"datePublished\":\"2023-10-31T07:40:00+00:00\",\"dateModified\":\"2024-07-26T08:04:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ct1.com\\\/da\\\/stockists\\\/#breadcrumb\"},\"inLanguage\":\"da-DK\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.ct1.com\\\/da\\\/stockists\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ct1.com\\\/da\\\/stockists\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.ct1.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Stockists\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.ct1.com\\\/#website\",\"url\":\"https:\\\/\\\/www.ct1.com\\\/\",\"name\":\"CT1\",\"description\":\"CT1 Adhesive, Industrial Bonding Adhesives, Silicone Sealants\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.ct1.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.ct1.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"da-DK\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.ct1.com\\\/#organization\",\"name\":\"CT1\",\"url\":\"https:\\\/\\\/www.ct1.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"da-DK\",\"@id\":\"https:\\\/\\\/www.ct1.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.ct1.com\\\/wp-content\\\/uploads\\\/logo1.png\",\"contentUrl\":\"https:\\\/\\\/www.ct1.com\\\/wp-content\\\/uploads\\\/logo1.png\",\"width\":324,\"height\":142,\"caption\":\"CT1\"},\"image\":{\"@id\":\"https:\\\/\\\/www.ct1.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Stockists - CT1","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.ct1.com\/da\/stockists\/","og_locale":"da_DK","og_type":"article","og_title":"Stockists - CT1","og_description":"Location Search","og_url":"https:\/\/www.ct1.com\/da\/stockists\/","og_site_name":"CT1","article_modified_time":"2024-07-26T08:04:46+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.ct1.com\/da\/stockists\/","url":"https:\/\/www.ct1.com\/da\/stockists\/","name":"Stockists - CT1","isPartOf":{"@id":"https:\/\/www.ct1.com\/#website"},"datePublished":"2023-10-31T07:40:00+00:00","dateModified":"2024-07-26T08:04:46+00:00","breadcrumb":{"@id":"https:\/\/www.ct1.com\/da\/stockists\/#breadcrumb"},"inLanguage":"da-DK","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ct1.com\/da\/stockists\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.ct1.com\/da\/stockists\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ct1.com\/"},{"@type":"ListItem","position":2,"name":"Stockists"}]},{"@type":"WebSite","@id":"https:\/\/www.ct1.com\/#website","url":"https:\/\/www.ct1.com\/","name":"CT1","description":"CT1 Adhesive, Industrial Bonding Adhesives, Silicone Sealants","publisher":{"@id":"https:\/\/www.ct1.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ct1.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"da-DK"},{"@type":"Organization","@id":"https:\/\/www.ct1.com\/#organization","name":"CT1","url":"https:\/\/www.ct1.com\/","logo":{"@type":"ImageObject","inLanguage":"da-DK","@id":"https:\/\/www.ct1.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.ct1.com\/wp-content\/uploads\/logo1.png","contentUrl":"https:\/\/www.ct1.com\/wp-content\/uploads\/logo1.png","width":324,"height":142,"caption":"CT1"},"image":{"@id":"https:\/\/www.ct1.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.ct1.com\/da\/wp-json\/wp\/v2\/pages\/36701","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ct1.com\/da\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ct1.com\/da\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ct1.com\/da\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ct1.com\/da\/wp-json\/wp\/v2\/comments?post=36701"}],"version-history":[{"count":0,"href":"https:\/\/www.ct1.com\/da\/wp-json\/wp\/v2\/pages\/36701\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ct1.com\/da\/wp-json\/wp\/v2\/media?parent=36701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}