{"id":33804,"date":"2026-03-24T09:48:33","date_gmt":"2026-03-24T08:48:33","guid":{"rendered":"https:\/\/marholidays.es\/?page_id=33804"},"modified":"2026-03-24T09:58:37","modified_gmt":"2026-03-24T08:58:37","slug":"contact_en","status":"publish","type":"page","link":"https:\/\/marholidays.es\/en\/contact_en\/","title":{"rendered":"Contact_en"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"33804\" class=\"elementor elementor-33804 elementor-33797\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5f50f8cb elementor-section-height-min-height elementor-section-full_width elementor-section-content-middle elementor-section-height-default elementor-section-items-middle wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no\" data-id=\"5f50f8cb\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&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-3a35864a\" data-id=\"3a35864a\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\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-4986f273 elementor-widget__width-initial elementor-hidden-desktop elementor-widget elementor-widget-image\" data-id=\"4986f273\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/marholidays.es\/wp-content\/uploads\/2024\/07\/Recurso-3.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fedd66a elementor-widget elementor-widget-spacer\" data-id=\"fedd66a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\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>\n\t\t\t\t<div class=\"elementor-element elementor-element-42116f27 elementor-hidden-tablet elementor-hidden-mobile elementor-widget elementor-widget-elementskit-heading\" data-id=\"42116f27\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"elementskit-heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"ekit-wid-con\" ><div class=\"ekit-heading elementskit-section-title-wraper text_center   ekit_heading_tablet-   ekit_heading_mobile-\"><h1 class=\"ekit-heading--title elementskit-section-title \">Contact<\/h1><\/div><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6b4e54f7 animated-slow miIcono elementor-view-default elementor-invisible elementor-widget elementor-widget-icon\" data-id=\"6b4e54f7\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;slideInDown&quot;,&quot;_animation_delay&quot;:100}\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<a class=\"elementor-icon\" href=\"#ancla11\">\n\t\t\t<i aria-hidden=\"true\" class=\"icon icon-arrow-down-circle\"><\/i>\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4b2250c elementor-widget elementor-widget-menu-anchor\" data-id=\"4b2250c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"ancla11\"><\/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<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t<div class=\"elementor-element elementor-element-2eaf05b1 e-grid e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-parent\" data-id=\"2eaf05b1\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-26b693f elementor-widget elementor-widget-menu-anchor\" data-id=\"26b693f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"ancla1\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-12b008e5 elementor-widget elementor-widget-heading\" data-id=\"12b008e5\" data-element_type=\"widget\" data-e-type=\"widget\" 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\">Write to us<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-396dbded elementor-widget elementor-widget-heading\" data-id=\"396dbded\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Please do not hesitate to get in touch if you have any queries or questions.<\/h3>\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-78ad8195 elementor-section-boxed elementor-section-height-default elementor-section-height-default wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no\" data-id=\"78ad8195\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\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-55348417\" data-id=\"55348417\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-6732f30c elementor-section-boxed elementor-section-height-default elementor-section-height-default wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no\" data-id=\"6732f30c\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\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-33 elementor-inner-column elementor-element elementor-element-36347ab9\" data-id=\"36347ab9\" 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-1b0351fe elementor-view-default elementor-position-block-start elementor-mobile-position-block-start elementor-widget elementor-widget-icon-box\" data-id=\"1b0351fe\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<a href=\"tel:+34661441354\" class=\"elementor-icon elementor-animation-float\" tabindex=\"-1\">\n\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-phone-alt\" viewBox=\"0 0 512 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M497.39 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.66 370.66 0 0 1 130.6 204.11l60.6-49.6a23.94 23.94 0 0 0 6.9-28l-48-112A24.16 24.16 0 0 0 122.6.61l-104 24A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.29 24.29 0 0 0-14.01-27.6z\"><\/path><\/svg>\t\t\t\t<\/a>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\t( +34 ) 661 441 354\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/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<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-inner-column elementor-element elementor-element-2d35b44e\" data-id=\"2d35b44e\" 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-5f34fb1 elementor-view-default elementor-position-block-start elementor-mobile-position-block-start elementor-widget elementor-widget-icon-box\" data-id=\"5f34fb1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<a href=\"mailto:central@marholidays.net%20\" class=\"elementor-icon elementor-animation-float\" tabindex=\"-1\">\n\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-paper-plane\" viewBox=\"0 0 512 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M476 3.2L12.5 270.6c-18.1 10.4-15.8 35.6 2.2 43.2L121 358.4l287.3-253.2c5.5-4.9 13.3 2.6 8.6 8.3L176 407v80.5c0 23.6 28.5 32.9 42.5 15.8L282 426l124.6 52.2c14.2 6 30.4-2.9 33-18.2l72-432C515 7.8 493.3-6.8 476 3.2z\"><\/path><\/svg>\t\t\t\t<\/a>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\tcentral@marholidays.net \t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/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<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-inner-column elementor-element elementor-element-70f6aa5b\" data-id=\"70f6aa5b\" 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-76a35547 elementor-view-default elementor-position-block-start elementor-mobile-position-block-start elementor-widget elementor-widget-icon-box\" data-id=\"76a35547\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<a href=\"https:\/\/maps.app.goo.gl\/uU9YzDV4529sCcH2A\" target=\"_blank\" rel=\"nofollow noopener\" class=\"elementor-icon elementor-animation-float\" tabindex=\"-1\">\n\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-map-pin\" viewBox=\"0 0 288 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M112 316.94v156.69l22.02 33.02c4.75 7.12 15.22 7.12 19.97 0L176 473.63V316.94c-10.39 1.92-21.06 3.06-32 3.06s-21.61-1.14-32-3.06zM144 0C64.47 0 0 64.47 0 144s64.47 144 144 144 144-64.47 144-144S223.53 0 144 0zm0 76c-37.5 0-68 30.5-68 68 0 6.62-5.38 12-12 12s-12-5.38-12-12c0-50.73 41.28-92 92-92 6.62 0 12 5.38 12 12s-5.38 12-12 12z\"><\/path><\/svg>\t\t\t\t<\/a>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\tPlaza Jos\u00e9 Luis Serna, 1, 03184 Torrevieja, Alicante\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/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<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\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<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4877d0e4 elementor-section-boxed elementor-section-height-default elementor-section-height-default wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no\" data-id=\"4877d0e4\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\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-57e7b29c\" data-id=\"57e7b29c\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-6eeaffec elementor-section-height-min-height elementor-section-boxed elementor-section-height-default wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no\" data-id=\"6eeaffec\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-2487fde2\" data-id=\"2487fde2\" 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-4b15df8d premium-cf7-button-fwidth-yes elementor-widget elementor-widget-premium-contact-form\" data-id=\"4b15df8d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"premium-contact-form.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\n\t\t\t\n\t\t\t<div class=\"premium-cf7-container\" data-settings=\"{&quot;fields_glass&quot;:&quot;none&quot;,&quot;submit_glass&quot;:&quot;none&quot;}\">\n\t\t\t\t\n<div class=\"wpcf7 no-js\" id=\"wpcf7-f29893-o1\" lang=\"es-ES\" dir=\"ltr\" data-wpcf7-id=\"29893\">\n<div class=\"screen-reader-response\"><p role=\"status\" aria-live=\"polite\" aria-atomic=\"true\"><\/p> <ul><\/ul><\/div>\n<form action=\"\/en\/wp-json\/wp\/v2\/pages\/33804#wpcf7-f29893-o1\" method=\"post\" class=\"wpcf7-form init\" aria-label=\"Formulario de contacto\" novalidate=\"novalidate\" data-status=\"init\">\n<fieldset class=\"hidden-fields-container\"><input type=\"hidden\" name=\"_wpcf7\" value=\"29893\" \/><input type=\"hidden\" name=\"_wpcf7_version\" value=\"6.1.5\" \/><input type=\"hidden\" name=\"_wpcf7_locale\" value=\"es_ES\" \/><input type=\"hidden\" name=\"_wpcf7_unit_tag\" value=\"wpcf7-f29893-o1\" \/><input type=\"hidden\" name=\"_wpcf7_container_post\" value=\"0\" \/><input type=\"hidden\" name=\"_wpcf7_posted_data_hash\" value=\"\" \/><input type=\"hidden\" name=\"_wpcf7_recaptcha_response\" value=\"\" \/>\n<\/fieldset>\n<div style=\"width: 100%; max-width: 600px; margin: 0 auto; background-color: #fff; padding: 20px; border: 1px solid #ccc; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); font-family: Arial, sans-serif; font-size: 14px; box-sizing: border-box;\">\n\t<p><br \/>\n<input type=\"text\" name=\"your-name\" placeholder=\"FIRST NAME\" required\n        style=\"width: 100%; padding: 20px; margin-bottom: 5px; border: 1px solid #ccc; font-size: 14px; outline: none; box-sizing: border-box;\" \/>\n\t<\/p>\n\t<p><br \/>\n<input type=\"text\" name=\"your-lastname\" placeholder=\"LAST NAME\" required\n        style=\"width: 100%; padding: 20px; margin-bottom: 5px; border: 1px solid #ccc; font-size: 14px; outline: none; box-sizing: border-box;\" \/>\n\t<\/p>\n\t<p><br \/>\n<input type=\"email\" name=\"your-email\" placeholder=\"EMAIL\" required\n        style=\"width: 100%; padding: 20px; margin-bottom: 5px; border: 1px solid #ccc; font-size: 14px; outline: none; box-sizing: border-box;\" \/>\n\t<\/p>\n\t<p><br \/>\n<textarea name=\"your-message\" placeholder=\"MESSAGE\" required\n        style=\"width: 100%; padding: 10px; height: 100px; margin-bottom: 5px; border: 1px solid #ccc; font-size: 14px; resize: none; box-sizing: border-box;\"><\/textarea>\n\t<\/p>\n\t<div style=\" font-size: 12px; color: #666;\">\n\t\t<p><label style=\"font-size: 14px; color: #555; display: block;\"><br \/>\n<input type=\"checkbox\" name=\"email-consent\" style=\"margin-right: 5px;\" \/>I would like to sign up and receive email communications.<br \/>\n<\/label>\n\t\t<\/p>\n\t<\/div>\n\t<div style=\" font-size: 12px; color: #666;\">\n\t\t<p><label style=\"font-size: 14px; color: #555; display: block;\"><br \/>\n<input type=\"checkbox\" name=\"privacy-policy\" required style=\"margin-right: 5px;\" \/>I have read and accept the <a href=\"https:\/\/www.marholidays.es\/en\/privacy-policy-2\/\" target=\"_blank\" style=\"color: #002D64;\">Privacy Policy<\/a>.<br \/>\n<\/label>\n\t\t<\/p>\n\t<\/div>\n\t<div style=\"margin-bottom: 15px; margin-top: 15px; font-size: 12px; color: #666;\">\n\t\t<p>This site is protected by reCAPTCHA and the Privacy Policy and Terms of Service apply.\n\t\t<\/p>\n\t<\/div>\n\t<p><br \/>\n<input type=\"submit\" value=\"SEND\"\n        style=\"width: 100%; padding: 10px; background-color: #002D64; color: #fff; border: none; font-size: 16px; text-transform: uppercase; cursor: pointer; box-sizing: border-box;\" \/>\n\t<\/p>\n<\/div><div class=\"wpcf7-response-output\" aria-hidden=\"true\"><\/div>\n<\/form>\n<\/div>\n\t\t\t<\/div>\n\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-78e8d8bc\" data-id=\"78e8d8bc\" 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-1cd55078 elementor-widget elementor-widget-html\" data-id=\"1cd55078\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<script src=\"https:\/\/api.mapbox.com\/mapbox-gl-js\/v2.15.0\/mapbox-gl.js\"><\/script>\r\n<link href=\"https:\/\/api.mapbox.com\/mapbox-gl-js\/v2.15.0\/mapbox-gl.css\" rel=\"stylesheet\" \/>\r\n\r\n<div id=\"map\" style=\"width: 100%; height: 80vh;\"><\/div>\r\n\r\n<script>\r\n    mapboxgl.accessToken = 'pk.eyJ1IjoiYWRtaW5pc3RyYWNpb25naW1oIiwiYSI6ImNtNWY5bHN6MTNiYjEybHNnZHpsenE4Z2kifQ.s9J6ZwQgW8fJ183XhG4kGw';\r\n\r\n    const map = new mapboxgl.Map({\r\n        container: 'map',\r\n        style: 'mapbox:\/\/styles\/mapbox\/light-v10',\r\n        center: [-0.6792285, 37.9752155],\r\n        zoom: 14\r\n    });\r\n\r\n    \/\/ Ubicaciones a mostrar en el mapa\r\n    const locations = [\r\n       \r\n     { coords: [-0.6792285, 37.9752155], name: \"Oficinas Mar Holidays\", image: \"https:\/\/www.marholidays.es\/wp-content\/uploads\/2024\/07\/marholidays_azul_logo.png\", microsite: \"https:\/\/www.marholidays.es\/contacto\/\", microsite: \"https:\/\/maps.app.goo.gl\/YSAFeQt9QP1iZHMn6\" }\r\n      \r\n    ];\r\n\r\n    \/\/ Crear una fuente de datos GeoJSON\r\n    const geojson = {\r\n        type: 'FeatureCollection',\r\n        features: locations.map(location => ({\r\n            type: 'Feature',\r\n            geometry: {\r\n                type: 'Point',\r\n                coordinates: location.coords\r\n            },\r\n            properties: {\r\n                name: location.name,\r\n                image: location.image,\r\n                microsite: location.microsite\r\n            }\r\n        }))\r\n    };\r\n\r\n    map.on('load', () => {\r\n        \/\/ Agregar la fuente de datos con clustering habilitado\r\n        map.addSource('locations', {\r\n            type: 'geojson',\r\n            data: geojson,\r\n            cluster: true,\r\n            clusterMaxZoom: 12, \/\/ Zoom m\u00e1ximo donde se agrupar\u00e1n los puntos\r\n            clusterRadius: 50   \/\/ Radio de agrupamiento\r\n        });\r\n\r\n        \/\/ Agregar capa para los clusters\r\n        map.addLayer({\r\n            id: 'clusters',\r\n            type: 'circle',\r\n            source: 'locations',\r\n            filter: ['has', 'point_count'],\r\n            paint: {\r\n                'circle-color': '#002d64', \/\/ Color de fondo del cl\u00faster\r\n                'circle-radius': 20,      \/\/ Tama\u00f1o del cl\u00faster\r\n                'circle-stroke-width': 2, \/\/ Borde del cl\u00faster\r\n                'circle-stroke-color': '#3A88F3' \/\/ Color del borde\r\n            }\r\n        });\r\n\r\n        \/\/ Mostrar n\u00famero de marcadores en cada cl\u00faster\r\n        map.addLayer({\r\n            id: 'cluster-count',\r\n            type: 'symbol',\r\n            source: 'locations',\r\n            filter: ['has', 'point_count'],\r\n            layout: {\r\n                'text-field': '{point_count_abbreviated}', \/\/ N\u00famero de puntos\r\n                'text-font': ['DIN Offc Pro Medium', 'Arial Unicode MS Bold'],\r\n                'text-size': 13\r\n            },\r\n            paint: {\r\n                'text-color': '#ffffff'\r\n            }\r\n        });\r\n\r\n        \/\/ Agregar icono personalizado para puntos individuales\r\n        const customIcon = new Image(28, 28);\r\n        customIcon.src = 'data:image\/svg+xml;base64,' + btoa(`\r\n            <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" width=\"28\" height=\"28\" fill=\"#002d64\">\r\n                <path d=\"M12 2C8.13 2 5 5.13 5 9c0 4.4 5.6 11.54 6.36 12.47.38.46.98.46 1.36 0C13.4 20.54 19 13.4 19 9c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 110-5 2.5 2.5 0 010 5z\"\/>\r\n            <\/svg>\r\n        `);\r\n\r\n        customIcon.onload = () => {\r\n            map.addImage('custom-icon', customIcon);\r\n\r\n            \/\/ Agregar capa para puntos individuales\r\n            map.addLayer({\r\n                id: 'unclustered-points',\r\n                type: 'symbol',\r\n                source: 'locations',\r\n                filter: ['!', ['has', 'point_count']],\r\n                layout: {\r\n                    'icon-image': 'custom-icon',\r\n                    'icon-size': 1\r\n                }\r\n            });\r\n        };\r\n\r\n        \/\/ Evento de clic en clusters para acercar el mapa con velocidad ajustada\r\n        map.on('click', 'clusters', (e) => {\r\n            const features = map.queryRenderedFeatures(e.point, { layers: ['clusters'] });\r\n            const clusterId = features[0].properties.cluster_id;\r\n\r\n            map.getSource('locations').getClusterExpansionZoom(clusterId, (err, zoom) => {\r\n                if (err) return;\r\n\r\n                map.flyTo({\r\n                    center: features[0].geometry.coordinates,\r\n                    zoom: zoom,\r\n                    speed: 1.4, \/\/ Controla la velocidad (valores entre 0.2 y 2.0)\r\n                    curve: 1.2, \/\/ Suaviza la curva de la animaci\u00f3n\r\n                    easing: (t) => t \/\/ Funci\u00f3n de easing\r\n                });\r\n            });\r\n        });\r\n\r\n        \/\/ Evento de clic en puntos individuales\r\n        map.on('click', 'unclustered-points', (e) => {\r\n            const coordinates = e.features[0].geometry.coordinates.slice();\r\n            const { name, image, microsite } = e.features[0].properties;\r\n\r\n            const popupContent = `\r\n                <div style=\"text-align: center;\">\r\n                    <h4 style=\"margin: 0; color: #002d64;\">${name}<\/h4>\r\n                    <a href=\"${microsite}\"target=\"_blank\"  style=\"color: #002d64; text-decoration: none;\"> <img decoding=\"async\" src=\"${image}\" alt=\"${name}\" style=\"width: 200px; height: 100px; border-radius: 0px; margin-bottom: 6px;\" \/><\/a>\r\n                <\/div>\r\n            `;\r\n\r\n            new mapboxgl.Popup()\r\n                .setLngLat(coordinates)\r\n                .setHTML(popupContent)\r\n                .addTo(map);\r\n        });\r\n\r\n        \/\/ Cambiar el cursor al pasar por encima de clusters o puntos\r\n        map.on('mouseenter', 'clusters', () => {\r\n            map.getCanvas().style.cursor = 'pointer';\r\n        });\r\n        map.on('mouseleave', 'clusters', () => {\r\n            map.getCanvas().style.cursor = '';\r\n        });\r\n\r\n        map.on('mouseenter', 'unclustered-points', () => {\r\n            map.getCanvas().style.cursor = 'pointer';\r\n        });\r\n        map.on('mouseleave', 'unclustered-points', () => {\r\n            map.getCanvas().style.cursor = '';\r\n        });\r\n    });\r\n<\/script>\r\n\t\t\t\t<\/div>\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\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>Contact Write to us Please do not hesitate to get in touch if you have any queries or questions. ( +34 ) 661 441 354 central@marholidays.net Plaza Jos\u00e9 Luis Serna, 1, 03184 Torrevieja, Alicante I would like to sign up and receive email communications. I have read and accept the Privacy Policy. This site is protected by reCAPTCHA and the Privacy Policy and Terms of Service apply.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-33804","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/marholidays.es\/en\/wp-json\/wp\/v2\/pages\/33804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marholidays.es\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/marholidays.es\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/marholidays.es\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/marholidays.es\/en\/wp-json\/wp\/v2\/comments?post=33804"}],"version-history":[{"count":5,"href":"https:\/\/marholidays.es\/en\/wp-json\/wp\/v2\/pages\/33804\/revisions"}],"predecessor-version":[{"id":33823,"href":"https:\/\/marholidays.es\/en\/wp-json\/wp\/v2\/pages\/33804\/revisions\/33823"}],"wp:attachment":[{"href":"https:\/\/marholidays.es\/en\/wp-json\/wp\/v2\/media?parent=33804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}