{"id":874,"date":"2012-08-15T16:15:00","date_gmt":"2012-08-15T16:15:18","guid":{"rendered":"https:\/\/wakefieldinn.ca\/fr\/contact\/"},"modified":"2019-09-12T14:43:48","modified_gmt":"2019-09-12T18:43:48","slug":"contact","status":"publish","type":"page","link":"https:\/\/wakefieldinn.ca\/fr\/contact\/","title":{"rendered":"Contact"},"content":{"rendered":"<div class=\"row content-row\">\n<div class=\"col-sm-6\">\n<\/div>\n<div class=\"col-sm-6\">\nAddresse: 21 Chemin Burnside, Wakefield, QC, Canada<\/p>\n<p>T\u00e9l\u00e9phone:  <a href=\"tel:1-(819)-720-0222\">1-819-720-0222<\/a><br \/>\nSans-Frais: <a href=\"tel:1-(844)-720-0222\">1-844-720-0222<\/a><\/p>\n<p>Courriel: <a href =\"mailto: reservations@belledenuit.ca\"> reservations@belledenuit.ca<\/a><\/p>\n<p><script src=\"https:\/\/maps.googleapis.com\/maps\/api\/js?v=3.exp&sensor=false&key=AIzaSyCYCrpTUtNiXfvmLqkuDV2oAg73dSpHfMk\"><\/script>\n<script type=\"text\/javascript\">\n(function($) {\n \n\/*\n*  render_map\n*\n*  This function will render a Google Map onto the selected jQuery element\n*\n*  @type\tfunction\n*  @date\t8\/11\/2013\n*  @since\t4.3.0\n*\n*  @param\t$el (jQuery element)\n*  @return\tn\/a\n*\/\n \nfunction render_map( $el ) {\n \n\t\/\/ var\n\tvar $markers = $el.find('.marker');\n \n\t\/\/ vars\n\tvar args = {\n\t\tzoom\t\t: 16,\n\t\tscrollwheel : false,\n\t\tcenter\t\t: new google.maps.LatLng(0, 0),\n\t\tmapTypeId\t: google.maps.MapTypeId.ROADMAP\n\t};\n \n\t\/\/ create map\t        \t\n\tvar map = new google.maps.Map( $el[0], args);\n \n\t\/\/ add a markers reference\n\tmap.markers = [];\n \n\t\/\/ add markers\n\t$markers.each(function(){\n \n    \tadd_marker( $(this), map );\n \n\t});\n \n\t\/\/ center map\n\tcenter_map( map );\n \n}\n \n\/*\n*  add_marker\n*\n*  This function will add a marker to the selected Google Map\n*\n*  @type\tfunction\n*  @date\t8\/11\/2013\n*  @since\t4.3.0\n*\n*  @param\t$marker (jQuery element)\n*  @param\tmap (Google Map object)\n*  @return\tn\/a\n*\/\n \nfunction add_marker( $marker, map ) {\n \n\t\/\/ var\n\tvar latlng = new google.maps.LatLng( $marker.attr('data-lat'), $marker.attr('data-lng') );\n \n\t\/\/ create marker\n\tvar marker = new google.maps.Marker({\n\t\tposition\t: latlng,\n\t\tmap\t\t\t: map\n\t});\n \n\t\/\/ add to array\n\tmap.markers.push( marker );\n \n\t\/\/ if marker contains HTML, add it to an infoWindow\n\tif( $marker.html() )\n\t{\n\t\t\/\/ create info window\n\t\tvar infowindow = new google.maps.InfoWindow({\n\t\t\tcontent\t\t: $marker.html()\n\t\t});\n \n\t\t\/\/ show info window when marker is clicked\n\t\tgoogle.maps.event.addListener(marker, 'click', function() {\n \n\t\t\tinfowindow.open( map, marker );\n \n\t\t});\n\t}\n \n}\n \n\/*\n*  center_map\n*\n*  This function will center the map, showing all markers attached to this map\n*\n*  @type\tfunction\n*  @date\t8\/11\/2013\n*  @since\t4.3.0\n*\n*  @param\tmap (Google Map object)\n*  @return\tn\/a\n*\/\n \nfunction center_map( map ) {\n \n\t\/\/ vars\n\tvar bounds = new google.maps.LatLngBounds();\n \n\t\/\/ loop through all markers and create bounds\n\t$.each( map.markers, function( i, marker ){\n \n\t\tvar latlng = new google.maps.LatLng( marker.position.lat(), marker.position.lng() );\n \n\t\tbounds.extend( latlng );\n \n\t});\n \n\t\/\/ only 1 marker?\n\tif( map.markers.length == 1 )\n\t{\n\t\t\/\/ set center of map\n\t    map.setCenter( bounds.getCenter() );\n\t    map.setZoom( 16 );\n\t}\n\telse\n\t{\n\t\t\/\/ fit to bounds\n\t\tmap.fitBounds( bounds );\n\t}\n \n}\n \n\/*\n*  document ready\n*\n*  This function will render each map when the document is ready (page has loaded)\n*\n*  @type\tfunction\n*  @date\t8\/11\/2013\n*  @since\t5.0.0\n*\n*  @param\tn\/a\n*  @return\tn\/a\n*\/\n \n$(document).ready(function(){\n \n\t$('.acf-map').each(function(){\n \n\t\trender_map( $(this) );\n \n\t});\n \n});\n \n})(jQuery);\n<\/script>\n\n<div class=\"acf-map\">\n\t<div class=\"marker\" data-lat=\"45.6412918\" data-lng=\"-75.93189999999998\">\n\t\t<h2><a href=\"https:\/\/wakefieldinn.ca\/fr\/\" title=\"Belle De Nuit\" rel=\"home\">Belle De Nuit<\/a><\/h2>\n\t<\/div>\n<\/div>\n<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":4,"featured_media":625,"parent":0,"menu_order":15,"comment_status":"open","ping_status":"open","template":"","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"","_seopress_titles_title":"Contactez Notre G\u00eete","_seopress_titles_desc":"Belle de Nuit est une auberge \u00e0 Wakefield, \u00e0 25 minutes d&#039;Ottawa. Nous sommes \u00e0 quelques pas du village et de la rivi\u00e8re Gatineau.","_seopress_robots_index":"","footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-874","page","type-page","status-publish","has-post-thumbnail","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/wakefieldinn.ca\/fr\/wp-json\/wp\/v2\/pages\/874","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wakefieldinn.ca\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wakefieldinn.ca\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wakefieldinn.ca\/fr\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/wakefieldinn.ca\/fr\/wp-json\/wp\/v2\/comments?post=874"}],"version-history":[{"count":0,"href":"https:\/\/wakefieldinn.ca\/fr\/wp-json\/wp\/v2\/pages\/874\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wakefieldinn.ca\/fr\/wp-json\/wp\/v2\/media\/625"}],"wp:attachment":[{"href":"https:\/\/wakefieldinn.ca\/fr\/wp-json\/wp\/v2\/media?parent=874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}