{"id":1718,"date":"2019-11-01T16:27:14","date_gmt":"2019-11-01T15:27:14","guid":{"rendered":"https:\/\/sitedev.it\/chotels\/contatti\/"},"modified":"2026-02-26T11:51:05","modified_gmt":"2026-02-26T10:51:05","slug":"contatti","status":"publish","type":"page","link":"https:\/\/www.hoteldiplomat.net\/en\/contatti\/","title":{"rendered":"Contacts"},"content":{"rendered":"\t<\/div>\n\t<div id=\"gallery-block_b54a57470127f184e0c1eb221bca8c01\" class=\"gallery\">\n\t\t<div id=\"gallery\" class=\"wait\">\n\n\t\t\t\t\t\t\t<div class=\"slider\">\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"slide\">\n\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1422\" src=\"https:\/\/i0.wp.com\/www.hoteldiplomat.net\/wp-content\/uploads\/sites\/4\/2020\/06\/contatti_banner_diplomat-scaled.jpg?fit=2560%2C1422&amp;ssl=1\" class=\"attachment-full size-full\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.hoteldiplomat.net\/wp-content\/uploads\/sites\/4\/2020\/06\/contatti_banner_diplomat-scaled.jpg?w=2560&amp;ssl=1 2560w, https:\/\/i0.wp.com\/www.hoteldiplomat.net\/wp-content\/uploads\/sites\/4\/2020\/06\/contatti_banner_diplomat-scaled.jpg?resize=300%2C167&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.hoteldiplomat.net\/wp-content\/uploads\/sites\/4\/2020\/06\/contatti_banner_diplomat-scaled.jpg?resize=1024%2C569&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.hoteldiplomat.net\/wp-content\/uploads\/sites\/4\/2020\/06\/contatti_banner_diplomat-scaled.jpg?resize=768%2C427&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.hoteldiplomat.net\/wp-content\/uploads\/sites\/4\/2020\/06\/contatti_banner_diplomat-scaled.jpg?resize=1536%2C853&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.hoteldiplomat.net\/wp-content\/uploads\/sites\/4\/2020\/06\/contatti_banner_diplomat-scaled.jpg?resize=2048%2C1138&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.hoteldiplomat.net\/wp-content\/uploads\/sites\/4\/2020\/06\/contatti_banner_diplomat-scaled.jpg?resize=285%2C158&amp;ssl=1 285w, https:\/\/i0.wp.com\/www.hoteldiplomat.net\/wp-content\/uploads\/sites\/4\/2020\/06\/contatti_banner_diplomat-scaled.jpg?resize=550%2C306&amp;ssl=1 550w, https:\/\/i0.wp.com\/www.hoteldiplomat.net\/wp-content\/uploads\/sites\/4\/2020\/06\/contatti_banner_diplomat-scaled.jpg?w=1800&amp;ssl=1 1800w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/>\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\n\t\t\t\n\t\t\t<div id=\"testo\">\n\t\t\t\t<div class=\"container-fluid\">\n\t\t\t\t\t<h1 class=\"s-italic\"><\/h1>\n\t\t\t\t\t<p><\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\t<\/div>\n\t<div class=\"container-fluid\">\n\n\t\t\n\n\t\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">  <div id=\"map-block_2f58986ba264efa2552a061c0f8d379b\" class=\"map\">\n    <div id=\"mappa-google\">\n            <div class=\"marker\" data-lat=\"43.7764449\" data-lng=\"11.2462111\"\n        data-icon=\"\"><\/div>\n    <\/div>\n  <\/div>\n  <style>\n    #mappa-google {\n      width: 900px;\n      height: 450px;\n      max-width: 100%;\n    }\n  <\/style>\n\n  <script data-category=\"functional\">\n\n    \/*\n    *  new_map\n    *\n    *  This function will render a Google Map onto the selected jQuery element\n    *\n    *  @type    function\n    *  @date    8\/11\/2013\n    *  @since   4.3.0\n    *\n    *  @param   $el (jQuery element)\n    *  @return  n\/a\n    *\/\n\n    console.log('map')\n    function new_map($el) {\n\n\n      \/\/elementi\n      \/\/ Create an array of styles.\n      const styles = [\n        {\n          \"elementType\": \"geometry\",\n          \"stylers\": [\n            {\n              \"color\": \"#f5f5f5\"\n            }\n          ]\n        },\n        {\n          \"elementType\": \"labels.icon\",\n          \"stylers\": [\n            {\n              \"visibility\": \"off\"\n            }\n          ]\n        },\n        {\n          \"elementType\": \"labels.text.fill\",\n          \"stylers\": [\n            {\n              \"color\": \"#616161\"\n            }\n          ]\n        },\n        {\n          \"elementType\": \"labels.text.stroke\",\n          \"stylers\": [\n            {\n              \"color\": \"#f5f5f5\"\n            }\n          ]\n        },\n        {\n          \"featureType\": \"administrative.land_parcel\",\n          \"elementType\": \"labels.text.fill\",\n          \"stylers\": [\n            {\n              \"color\": \"#bdbdbd\"\n            }\n          ]\n        },\n        {\n          \"featureType\": \"poi\",\n          \"elementType\": \"geometry\",\n          \"stylers\": [\n            {\n              \"color\": \"#eeeeee\"\n            }\n          ]\n        },\n        {\n          \"featureType\": \"poi\",\n          \"elementType\": \"labels.text.fill\",\n          \"stylers\": [\n            {\n              \"color\": \"#757575\"\n            }\n          ]\n        },\n        {\n          \"featureType\": \"poi.park\",\n          \"elementType\": \"geometry\",\n          \"stylers\": [\n            {\n              \"color\": \"#e5e5e5\"\n            }\n          ]\n        },\n        {\n          \"featureType\": \"poi.park\",\n          \"elementType\": \"labels.text.fill\",\n          \"stylers\": [\n            {\n              \"color\": \"#9e9e9e\"\n            }\n          ]\n        },\n        {\n          \"featureType\": \"road\",\n          \"elementType\": \"geometry\",\n          \"stylers\": [\n            {\n              \"color\": \"#ffffff\"\n            }\n          ]\n        },\n        {\n          \"featureType\": \"road.arterial\",\n          \"elementType\": \"labels.text.fill\",\n          \"stylers\": [\n            {\n              \"color\": \"#757575\"\n            }\n          ]\n        },\n        {\n          \"featureType\": \"road.highway\",\n          \"elementType\": \"geometry\",\n          \"stylers\": [\n            {\n              \"color\": \"#dadada\"\n            }\n          ]\n        },\n        {\n          \"featureType\": \"road.highway\",\n          \"elementType\": \"labels.text.fill\",\n          \"stylers\": [\n            {\n              \"color\": \"#616161\"\n            }\n          ]\n        },\n        {\n          \"featureType\": \"road.local\",\n          \"elementType\": \"labels.text.fill\",\n          \"stylers\": [\n            {\n              \"color\": \"#9e9e9e\"\n            }\n          ]\n        },\n        {\n          \"featureType\": \"transit.line\",\n          \"elementType\": \"geometry\",\n          \"stylers\": [\n            {\n              \"color\": \"#e5e5e5\"\n            }\n          ]\n        },\n        {\n          \"featureType\": \"transit.station\",\n          \"elementType\": \"geometry\",\n          \"stylers\": [\n            {\n              \"color\": \"#eeeeee\"\n            }\n          ]\n        },\n        {\n          \"featureType\": \"water\",\n          \"elementType\": \"geometry\",\n          \"stylers\": [\n            {\n              \"color\": \"#c9c9c9\"\n            }\n          ]\n        },\n        {\n          \"featureType\": \"water\",\n          \"elementType\": \"labels.text.fill\",\n          \"stylers\": [\n            {\n              \"color\": \"#9e9e9e\"\n            }\n          ]\n        }\n      ];\n\n      const styledMap = new google.maps.StyledMapType(styles,\n        { name: \"Styled Map\" });\n\n      \/\/ var\n      const $markers = $el.find('.marker');\n      \/\/ vars\n      const args = {\n        zoom: 17,\n        scrollwheel: false,\n        mapTypeControlOptions: {\n          mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'map_style']\n        }\n      };\n\n      \/\/ create map               \n      const map = new google.maps.Map($el[0], args);\n      \/\/Associate the styled map with the MapTypeId and set it to display.\n      map.mapTypes.set('map_style', styledMap);\n      map.setMapTypeId('map_style');\n\n      \/\/ add a markers reference\n      map.markers = [];\n\n      \/\/ add markers\n      index = 0;\n      let category = '';\n      $markers.each(function () {\n        category = jQuery(this).attr('data-category');\n        link = jQuery(this).attr('data-link');\n        add_marker(jQuery(this), map, index, category, link);\n        index++;\n      });\n\n      \/\/ center map\n      center_map(map);\n\n      \/\/ return\n      return map;\n\n    }\n\n    \/*\n    *  add_marker\n    *\n    *  This function will add a marker to the selected Google Map\n    *\n    *  @type    function\n    *  @date    8\/11\/2013\n    *  @since   4.3.0\n    *\n    *  @param   $marker (jQuery element)\n    *  @param   map (Google Map object)\n    *  @return  n\/a\n    *\/\n    console.log('marker')\n\n    function add_marker($marker, map, index, category, link) {\n\n\n      \/\/ var\n      const latlng = new google.maps.LatLng($marker.attr('data-lat'), $marker.attr('data-lng'));\n\n      const mIcon = {\n        url: 'https:\/\/www.hoteldiplomat.net\/wp-content\/uploads\/sites\/4\/2020\/06\/pointer_diplomat.svg',\n        scaledSize: new google.maps.Size(100, 35),\n      }\n\n      \/\/ create marker\n      const marker = new google.maps.Marker({\n        position: latlng,\n        map: map,\n        icon: mIcon\n      });\n\n\n      \/\/ add to array\n      map.markers.push(marker);\n\n      \/\/ if marker contains HTML, add it to an infoWindow\n      let activeWindow;\n\n      if ($marker.html()) {\n\n\n        \/\/ create info window\n        infowindow = new google.maps.InfoWindow();\n\n        google.maps.event.addListener(marker, 'click', function () {\n          if (activeWindow != null) { activeWindow.close(); }\n\n          if (index != 'h') {\n            infowindow.setContent($marker.html());\n            infowindow.open(map, marker);\n            \/\/map.setCenter(marker.getPosition());\n            \/\/\n            const toLoad = '\/chotels\/wp-json\/wp\/v2\/punto_di_interesse\/' + link;\n            let title = '';\n            let text = '';\n            let img = '';\n            let indirizzo = '';\n            let placeid = '';\n\n            jQuery('#modale').addClass('open')\n\n            jQuery('#content').html('');\n            jQuery('#content').addClass('loading')\n            jQuery.ajax(toLoad).done(function (data) {\n              title = data.title.rendered\n              text = data.content.rendered\n              img = data.featured_image\n              indirizzo = data.acf.mappa.address\n              placeid = data.acf.mappa.place_id\n\n              jQuery('#content').html('<figure><img decoding=\"async\" src=\"' + img + '\"><\/figure><div class=\"punto\"><div id=\"chiudi\">&larr;<\/div><div class=\"header s-italic\"><h3 class=\"s-italic\">' + title + '<\/h3><p class=\"indirizzo\">' + indirizzo + '<\/p><\/div><a href=\"https:\/\/www.google.com\/maps\/dir\/?api=1&#038;origin=&#038;destination=a&#038;destination_place_id=' + placeid + '\" id=\"p-id\" target=\"_blank\"><\/a><div class=\"testo-punto\">' + text + '<\/div><\/div>');\n              jQuery('#content').removeClass('loading')\n            });\n\n          }\n\n          \/\/Store new window in global variable\n          activeWindow = infowindow;\n        });\n\n\n\n\n        jQuery('#' + category).append('<li class= \"linkage\" id=\"p' + index + '\">' + index + '. ' + $marker.find('.title').html() + '<\/li>'); \/\/ change html here if you want but eave id intact!!\n\n        jQuery(document).on('click', '#p' + index, function () {\n          infowindow.setContent($marker.html());\n          infowindow.open(map, marker);\n          \/\/setTimeout(function () { infowindow.close(); }, 5000);\n        });\n\n\n      }\n\n    }\n\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    function\n    *  @date    8\/11\/2013\n    *  @since   4.3.0\n    *\n    *  @param   map (Google Map object)\n    *  @return  n\/a\n    *\/\n    console.log('center')\n\n    function center_map(map) {\n\n      \/\/ vars\n      const bounds = new google.maps.LatLngBounds();\n\n      \/\/ loop through all markers and create bounds\n      jQuery.each(map.markers, function (i, marker) {\n\n        const latlng = new google.maps.LatLng(marker.position.lat(), marker.position.lng());\n\n        bounds.extend(latlng);\n\n      });\n\n      \/\/ only 1 marker?\n      if (map.markers.length == 1) {\n        \/\/ set center of map\n        map.setCenter(bounds.getCenter());\n        map.setZoom(15);\n      }\n      else {\n        \/\/ fit to bounds\n        map.fitBounds(bounds);\n      }\n\n    }\n\n\n\n\n  <\/script>\n  <script>\n    \/*\n  *  document ready\n  *\n  *  This function will render each map when the document is ready (page has loaded)\n  *\n  *  @type    function\n  *  @date    8\/11\/2013\n  *  @since   5.0.0\n  *\n  *  @param   n\/a\n  *  @return  n\/a\n  *\/\n    \/\/ global var\n    let map = null;\n\n    let initContattiMapDone = false;\n\n    window.initContattiMap = function () {\n\n      if (initContattiMapDone) {\n        return;\n      }\n\n      if (!window.google || !window.google.maps) {\n        return;\n      }\n\n      initContattiMapDone = true;\n\n      jQuery('#mappa-google').each(function () {\n        map = new_map(jQuery(this));\n      });\n    }; jQuery(document).ready(function () {\n\n      if (window.google?.maps && !initContattiMapDone) {\n        window.initContattiMap();\n      }\n\n    });\n  <\/script>\n\n  <script async\n    src=\"https:\/\/maps.googleapis.com\/maps\/api\/js?key=AIzaSyC_q4r7lriR1BVvabbA2L7N-0cjBRoucvY&#038;loading=async&#038;callback=initContattiMap\">\n    <\/script>\n\n  <\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-black-color has-text-color has-link-color wp-elements-4884bdd77df60015f7ff7a2a93de3383 wp-block-paragraph\">VIA ALAMANNI, 9<br>FIRENZE 50123<br><a href=\"tel:+390552608400\">+390552608400<\/a><\/p>\n\n\n\n<p class=\"has-black-color has-text-color has-link-color wp-elements-336175aa3631348b8be271564cba8497 wp-block-paragraph\">CIN:IT048017A1WEOSWDFF<\/p>\n\n\n\n<p class=\"has-black-color has-text-color has-link-color wp-elements-25ca57a869c00fccb84f9b11f4296c5c wp-block-paragraph\">BOOKING<br>You will always find the best rate on our website.&nbsp;<br>Get the best price using our booking system, and check the offers section now, and then you might see something interesting.<\/p>\n\n\n\n<p class=\"has-black-color has-text-color has-link-color wp-elements-e1967cb8d371f72ecdb5d34ab3846e86 wp-block-paragraph\">EMAIL<br>Booking: <a href=\"mailto:bookingdiplomat@c-hotels.it\">bookingdiplomat@c-hotels.it<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"has-black-color has-text-color has-link-color wp-elements-dc9448659cc2a94af3f7d965c7ecc85c wp-block-paragraph\">GDS CODES:<br><span class=\"tadv-color\" style=\"color:#343534\">Amadeus <\/span>&#8211; FG FLRDIP<br><span class=\"tadv-color\" style=\"color:#343534\">Apollo\/Galileo<\/span> &#8211; FG 10212<br><span class=\"tadv-color\" style=\"color:#343534\">Sabre<\/span> &#8211; FG 26722<br><span class=\"tadv-color\" style=\"color:#343534\">Worldspan <\/span>&#8211; FG FLRDI<\/p>\n\n\n\n<p class=\"has-black-color has-text-color has-link-color wp-elements-b2c0d010d314d84648def3c2a7e6bc6c wp-block-paragraph\">Discover all our <a href=\"https:\/\/www.hoteldiplomat.net\/en\/services\/\" data-type=\"page\" data-id=\"1720\">services<\/a> and <a href=\"https:\/\/www.hoteldiplomat.net\/en\/offerte\/\" data-type=\"page\" data-id=\"1715\">offers<\/a>.<br>Information about our hotel chain in Italy<br>c-hotels.it<\/p>\n\n\n\n<p class=\"has-black-color has-text-color has-link-color wp-elements-9ac00cf961d1ea846fe5a532228b76c6 wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"has-black-color has-text-color has-link-color wp-elements-9ac00cf961d1ea846fe5a532228b76c6 wp-block-paragraph\"><\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>VIA ALAMANNI, 9FIRENZE 50123+390552608400 CIN:IT048017A1WEOSWDFF BOOKINGYou will always find the best rate on our website.&nbsp;Get the best price using our&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-1718","page","type-page","status-publish","hentry"],"acf":{"sfondo":""},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hoteldiplomat.net\/en\/wp-json\/wp\/v2\/pages\/1718","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hoteldiplomat.net\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.hoteldiplomat.net\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.hoteldiplomat.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hoteldiplomat.net\/en\/wp-json\/wp\/v2\/comments?post=1718"}],"version-history":[{"count":44,"href":"https:\/\/www.hoteldiplomat.net\/en\/wp-json\/wp\/v2\/pages\/1718\/revisions"}],"predecessor-version":[{"id":3646,"href":"https:\/\/www.hoteldiplomat.net\/en\/wp-json\/wp\/v2\/pages\/1718\/revisions\/3646"}],"wp:attachment":[{"href":"https:\/\/www.hoteldiplomat.net\/en\/wp-json\/wp\/v2\/media?parent=1718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}