//Page code export function buttonCalc_click(event) { distance($w("#startingPoint").value, $w("#endPoint").value) .then(function (resp) { let distanceInMiles = parseFloat(resp.rows[0].elements[0].distance["text"], 10); distanceInMiles *= 1.00; distanceInMiles = distanceInMiles.toFixed(2); let duration = resp.rows[0].elements[0].duration["text"]; let miles = resp.rows[0].elements[0].distance["text"] // printing the result on the screen $w("#result").value = distanceInMiles; $w("#duration").value = duration; $w("#textboxMiles").value = miles; }) } //Backend file code export async function distance(origin, destination) { const secret = await wixSecretsBackend.getSecret("apiDistance"); const distanceUrl = "https://maps.googleapis.com/maps/api/distancematrix/json?units=imperial"; const url = distanceUrl + `&origins=` + origin + `&destinations=` + destination + `&key=${secret}`; return fetch(url, { method: 'get' }) .then((httpResponse) => httpResponse.json()); }
top of page

book your delivery

  • Local Moving

    75$
    load fits in a standard size car
     
    • one way transportation of items
  • Local Moving

    100$
    load fits in a truck bed
     
    • includes one way delivery
  • Local Moving

    175$
    load requires a trailer or box truck
     
    • includes one way delivery of items
  • Construction Material Delivery

    75$
    load fits in a standard size car
     
    • includes one way delivery of construction material
  • Construction Material Delivery

    100$
    load fits in a truck bed
     
    • one way delivery of construction materials
  • Construction Material Delivery

    175$
    load requires a trailer or box truck
     
    • includes one way delivery of construction materials
  • Rescue Fuel

    100$
    includes 2 gallons of diesel or gas fuel only
     
    • additional fuel will be charged at a rate of $6 per gallon
bottom of page