{"id":287,"date":"2026-03-06T13:25:00","date_gmt":"2026-03-06T13:25:00","guid":{"rendered":"https:\/\/1stclasswaste.ltd\/?page_id=287"},"modified":"2026-03-06T15:06:00","modified_gmt":"2026-03-06T15:06:00","slug":"delivery-areas","status":"publish","type":"page","link":"https:\/\/1stclasswaste.ltd\/index.php\/delivery-areas\/","title":{"rendered":"Delivery Areas"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"287\" class=\"elementor elementor-287\">\n\t\t\t\t<div class=\"elementor-element elementor-element-036c0f9 e-con-full e-flex e-con e-parent\" data-id=\"036c0f9\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-95b9871 e-con-full e-flex e-con e-child\" data-id=\"95b9871\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4fa1e04 elementor-widget elementor-widget-heading\" data-id=\"4fa1e04\" 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\">Check Your Delivery Area<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4f495c6 elementor-widget elementor-widget-heading\" data-id=\"4f495c6\" 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\">Check if your area is covered by our delivery services.<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3b3f185 elementor-widget elementor-widget-html\" data-id=\"3b3f185\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<div style=\"width:100%; display:flex; align-items:center; gap:12px; flex-wrap:wrap; background:transparent;\">\n  \n  <input\n    id=\"postcodeInput\"\n    type=\"text\"\n    placeholder=\"Enter your postcode\"\n    style=\"flex:1; min-width:220px; padding:14px 12px; background:transparent; border:none; border-bottom:2px solid #ffffff; color:#ffffff; font-size:16px; outline:none;\"\n  \/>\n\n  <button\n    type=\"button\"\n    onclick=\"checkPostcodeAvailability()\"\n    style=\"background:#20A302; color:#ffffff; border:none; padding:14px 22px; border-radius:8px; font-size:15px; font-weight:600; cursor:pointer; white-space:nowrap;\"\n  >\n    Check Availability\n  <\/button>\n\n  <div\n    id=\"postcodeResult\"\n    style=\"font-size:15px; color:#ffffff; white-space:nowrap;\"\n  ><\/div>\n<\/div>\n\n<script>\nfunction checkPostcodeAvailability() {\n  const allowedPostcodes = [\n    \"DA1\",\"DA2\",\"DA5\",\"DA6\",\"DA8\",\"DA11\",\"DA12\",\"DA14\",\"DA15\",\"DA17\",\n    \"BR1\",\"BR2\",\"BR3\",\"BR4\",\"BR5\",\"BR6\",\"BR7\",\"BR8\",\n    \"SE3\",\"SE7\",\"SE8\",\"SE9\",\"SE10\",\"SE12\",\"SE13\",\"SE18\",\"SE28\"\n  ];\n\n  const input = document.getElementById(\"postcodeInput\").value.trim().toUpperCase();\n  const resultBox = document.getElementById(\"postcodeResult\");\n\n  if (!input) {\n    resultBox.innerHTML = '<span style=\"color:#ff6b6b;\">Enter postcode<\/span>';\n    return;\n  }\n\n  const cleaned = input.replace(\/\\s+\/g, \"\");\n  const match = allowedPostcodes.find(prefix => cleaned.startsWith(prefix));\n\n  if (match) {\n    resultBox.innerHTML = '<span style=\"color:#20A302; font-weight:600;\">Postcode available. <a href=\"https:\/\/1stclasswaste.ltd\/index.php\/booking\/\" style=\"color:#20A302; text-decoration:underline;\">Click here to book now<\/a><\/span>';\n  } else {\n    resultBox.innerHTML = '<span style=\"color:#ff6b6b; font-weight:600;\">Sorry, currently we are not delivering to your address.<\/span>';\n  }\n}\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-49771a0 e-con-full e-flex e-con e-parent\" data-id=\"49771a0\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-d787e57 elementor-widget elementor-widget-html\" data-id=\"d787e57\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<link rel=\"stylesheet\" href=\"https:\/\/unpkg.com\/leaflet@1.9.4\/dist\/leaflet.css\"\/>\n\n<div id=\"service-map\" style=\"width:100%;height:550px;border-radius:14px;overflow:hidden;\"><\/div>\n\n<script src=\"https:\/\/unpkg.com\/leaflet@1.9.4\/dist\/leaflet.js\"><\/script>\n\n<script>\nconst map = L.map('service-map', { scrollWheelZoom: false }).setView([51.45, 0.05], 11);\n\nL.tileLayer('https:\/\/{s}.tile.openstreetmap.org\/{z}\/{x}\/{y}.png', {\n  maxZoom: 18,\n  attribution: '&copy; OpenStreetMap'\n}).addTo(map);\n\nconst areas = [\n  [\"DA1\", 51.446, 0.219],\n  [\"DA2\", 51.439, 0.255],\n  [\"DA5\", 51.441, 0.147],\n  [\"DA6\", 51.457, 0.138],\n  [\"DA8\", 51.480, 0.178],\n  [\"DA11\", 51.441, 0.366],\n  [\"DA12\", 51.441, 0.366],\n  [\"DA14\", 51.426, 0.103],\n  [\"DA15\", 51.439, 0.101],\n  [\"DA17\", 51.489, 0.150],\n\n  [\"BR1\", 51.406, 0.015],\n  [\"BR2\", 51.379, 0.030],\n  [\"BR3\", 51.408, -0.025],\n  [\"BR4\", 51.375, -0.016],\n  [\"BR5\", 51.391, 0.099],\n  [\"BR6\", 51.359, 0.101],\n  [\"BR7\", 51.414, 0.068],\n  [\"BR8\", 51.395, 0.174],\n\n  [\"SE3\", 51.472, 0.010],\n  [\"SE7\", 51.486, 0.031],\n  [\"SE8\", 51.479, -0.026],\n  [\"SE9\", 51.447, 0.055],\n  [\"SE10\", 51.480, -0.001],\n  [\"SE12\", 51.447, -0.017],\n  [\"SE13\", 51.461, -0.011],\n  [\"SE18\", 51.490, 0.071],\n  [\"SE28\", 51.502, 0.118]\n];\n\nareas.forEach(function(area) {\n  const code = area[0];\n  const lat = area[1];\n  const lng = area[2];\n\n  L.circle([lat, lng], {\n    color: '#20A302',\n    fillColor: '#20A302',\n    fillOpacity: 0.18,\n    radius: 1800\n  }).addTo(map).bindPopup('<strong>' + code + '<\/strong><br>Service Area');\n\n  L.marker([lat, lng], {\n    icon: L.divIcon({\n      className: 'postcode-label',\n      html: '<div style=\"background:rgba(32,163,2,0.95);color:#fff;padding:4px 8px;border-radius:20px;font-size:12px;font-weight:600;white-space:nowrap;\">' + code + '<\/div>',\n      iconSize: [50, 24],\n      iconAnchor: [25, 12]\n    })\n  }).addTo(map);\n});\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Check Your Delivery Area Check if your area is covered by our delivery services. Check Availability<\/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-287","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/1stclasswaste.ltd\/index.php\/wp-json\/wp\/v2\/pages\/287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1stclasswaste.ltd\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/1stclasswaste.ltd\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/1stclasswaste.ltd\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/1stclasswaste.ltd\/index.php\/wp-json\/wp\/v2\/comments?post=287"}],"version-history":[{"count":22,"href":"https:\/\/1stclasswaste.ltd\/index.php\/wp-json\/wp\/v2\/pages\/287\/revisions"}],"predecessor-version":[{"id":349,"href":"https:\/\/1stclasswaste.ltd\/index.php\/wp-json\/wp\/v2\/pages\/287\/revisions\/349"}],"wp:attachment":[{"href":"https:\/\/1stclasswaste.ltd\/index.php\/wp-json\/wp\/v2\/media?parent=287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}