{"id":104,"date":"2024-08-23T10:38:37","date_gmt":"2024-08-23T08:38:37","guid":{"rendered":"https:\/\/hostnb.com\/?page_id=104"},"modified":"2025-01-11T12:48:15","modified_gmt":"2025-01-11T11:48:15","slug":"salle-2","status":"publish","type":"page","link":"https:\/\/hostnb.com\/index.php\/salle-2\/","title":{"rendered":"SALLE"},"content":{"rendered":"<style>\n    \/* Style pour la carte *\/\n    #map {\n      height: 500px;\n      width: 100%;\n    }\n  <\/style>\n<h1>Ma Carte Google avec Logo<\/h1>\n<div id=\"map\"><\/div>\n<p>  <!-- Script Google Maps --><br \/>\n  <script src=\"https:\/\/maps.googleapis.com\/maps\/api\/js?key=YOUR_API_KEY\"><\/script><br \/>\n  <script>\n    function initMap() {\n      \/\/ Coordonn\u00e9es de l'adresse\n      const location = { lat: 48.8566, lng: 2.3522 }; \/\/ Exemple : Paris<\/p>\n<p>      \/\/ Cr\u00e9ation de la carte\n      const map = new google.maps.Map(document.getElementById(\"map\"), {\n        zoom: 14,\n        center: location,\n      });<\/p>\n<p>      \/\/ Ajout du marqueur avec un logo personnalis\u00e9\n      const marker = new google.maps.Marker({\n        position: location,\n        map: map,\n        icon: {\n          url: \"https:\/\/via.placeholder.com\/50\", \/\/ Remplacez par l'URL de votre logo\n          scaledSize: new google.maps.Size(50, 50), \/\/ Taille du logo\n        },\n      });\n    }<\/p>\n<p>    \/\/ Initialisation de la carte\n    window.onload = initMap;\n  <\/script><\/p>\n<div style=\"position: relative; width: 100%; height: 500px;\">\n  <!-- Carte int\u00e9gr\u00e9e --><br \/>\n  <iframe \n    src=\"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d3153.0866078818943!2d-122.41941558468304!3d37.77492977975933!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x80858064f7087c85%3A0x81098b3f8f30a7e!2sSan%20Francisco%2C%20CA%2C%20USA!5e0!3m2!1sen!2sfr!4v1697037741226!5m2!1sen!2sfr\" \n    width=\"100%\" \n    height=\"100%\" \n    style=\"border:0;\" \n    allowfullscreen=\"\" \n    loading=\"lazy\"><br \/>\n  <\/iframe><\/p>\n<p>  <!-- Logo superpos\u00e9 --><br \/>\n  <img decoding=\"async\" src=\"https:\/\/hostnb.com\/wp-content\/uploads\/2024\/09\/cercle-melodie.png\" \n       alt=\"Logo\"\n       style=\"position: absolute; top: 200px; left: 200px; z-index: 10;width:50px\">\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Ma Carte Google avec Logo<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-104","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/hostnb.com\/index.php\/wp-json\/wp\/v2\/pages\/104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostnb.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/hostnb.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/hostnb.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hostnb.com\/index.php\/wp-json\/wp\/v2\/comments?post=104"}],"version-history":[{"count":10,"href":"https:\/\/hostnb.com\/index.php\/wp-json\/wp\/v2\/pages\/104\/revisions"}],"predecessor-version":[{"id":806,"href":"https:\/\/hostnb.com\/index.php\/wp-json\/wp\/v2\/pages\/104\/revisions\/806"}],"wp:attachment":[{"href":"https:\/\/hostnb.com\/index.php\/wp-json\/wp\/v2\/media?parent=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}