import { loadScript } from 'wix-window';
$w.onReady(function () {
const apiKey = 'YOUR_GOOGLE_API_KEY'; // Replace with your real Google API Key
loadScript(`https://maps.googleapis.com/maps/api/js?key=${apiKey}&libraries=places`).then(() => {
const input = document.getElementById("addressInput");
const autocomplete = new google.maps.places.Autocomplete(input);
autocomplete.addListener("place_changed", () => {
const place = autocomplete.getPlace();
const zipComponent = place.address_components.find(comp =>
comp.types.includes("postal_code")
);
const zipCode = zipComponent ? zipComponent.long_name : null;
let price;
switch(zipCode) {
case "75149":
case "75150":
price = "$55";
break;
case "75126":
price = "$60";
break;
case "75228":
price = "$65";
break;
default:
price = "Custom Quote Needed";
}
$w('#priceText').text = `Estimated Price: ${price}`;
});
});
});
top of page
Majure Care For Small Lawns
Majure care for small spaces
1 hr1 h
50 US dollars
$50
Customer's Place
Service Description
Majure Mowing specializes in small yard maintenance, catering to spaces under 5,000 sq ft. Our team is dedicated to providing top-notch lawn care services that will elevate the look of your property.