<style id="elementor-post-19960">.elementor-19960 .elementor-element.elementor-element-ce259d0 .elementor-heading-title{color:#000000;}.elementor-19960 .elementor-element.elementor-element-677c601{--spacer-size:50px;}</style>{"id":19960,"date":"2024-11-29T07:24:00","date_gmt":"2024-11-29T12:24:00","guid":{"rendered":"https:\/\/smartd.tech\/?page_id=19960"},"modified":"2025-12-31T01:23:44","modified_gmt":"2025-12-31T06:23:44","slug":"galco-branches","status":"publish","type":"page","link":"https:\/\/smartd.tech\/fr\/maps\/galco-branches\/","title":{"rendered":"GALCO location"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"19960\" class=\"elementor elementor-19960\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section data-particle_enable=\"false\" data-particle-mobile-disabled=\"false\" class=\"elementor-section elementor-top-section elementor-element elementor-element-3f480f9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3f480f9\" data-element_type=\"section\" data-e-type=\"section\">\n\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-53d3e52 ot-flex-column-vertical\" data-id=\"53d3e52\" 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<div class=\"elementor-element elementor-element-ce259d0 elementor-widget elementor-widget-heading\" data-id=\"ce259d0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Galco  location<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-677c601 elementor-widget elementor-widget-spacer\" data-id=\"677c601\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0e919c2 elementor-widget elementor-widget-html\" data-id=\"0e919c2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<div id=\"map\" style=\"width: 100%; height: 500px;\"><\/div>\r\n\r\n<script src=\"https:\/\/maps.googleapis.com\/maps\/api\/js?key=AIzaSyDE5u5Tbl-9KfV44gQWW6-WKpyoszAViwk\" async defer><\/script>\r\n<script>\r\n    function initMap() {\r\n        \/\/ Map center\r\n        const mapCenter = { lat: 42.4842729, lng: -83.0909678 }; \/\/ Center of Galco\r\n        \/\/ Create the map\r\n        const map = new google.maps.Map(document.getElementById(\"map\"), {\r\n            zoom: 6,\r\n            center: mapCenter,\r\n        });\r\n\r\n        \/\/ Branch locations (replace with your data)\r\n        const branches = [\r\n           {\r\n                name: \"Galco\",\r\n                lat: 42.4842729,\r\n                lng: -83.0909678,\r\n                address: \"1451 E Lincoln Ave, Madison Heights, MI 48071\",\r\n                phone: \"800-575-5562\",\r\n            },\r\n        ];\r\n\r\n        \/\/ Loop through each branch and add a marker\r\n        branches.forEach((branch) => {\r\n            const marker = new google.maps.Marker({\r\n                position: { lat: branch.lat, lng: branch.lng },\r\n                map: map,\r\n                title: branch.name,\r\n            });\r\n\r\n            \/\/ Info window for each marker\r\n            const infoWindow = new google.maps.InfoWindow({\r\n                content: `<strong>${branch.name}<\/strong><br>${branch.address}<br>${branch.phone}`,\r\n            });\r\n\r\n            \/\/ Show info window on marker click\r\n            marker.addListener(\"click\", () => {\r\n                infoWindow.open(map, marker);\r\n            });\r\n        });\r\n    }\r\n\r\n    \/\/ Initialize the map\r\n    window.onload = initMap;\r\n<\/script>\r\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Galco location<\/p>\n","protected":false},"author":9,"featured_media":0,"parent":19913,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-19960","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/smartd.tech\/fr\/wp-json\/wp\/v2\/pages\/19960","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smartd.tech\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/smartd.tech\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/smartd.tech\/fr\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/smartd.tech\/fr\/wp-json\/wp\/v2\/comments?post=19960"}],"version-history":[{"count":0,"href":"https:\/\/smartd.tech\/fr\/wp-json\/wp\/v2\/pages\/19960\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/smartd.tech\/fr\/wp-json\/wp\/v2\/pages\/19913"}],"wp:attachment":[{"href":"https:\/\/smartd.tech\/fr\/wp-json\/wp\/v2\/media?parent=19960"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}