{"id":2690,"date":"2024-04-18T19:32:53","date_gmt":"2024-04-18T19:32:53","guid":{"rendered":"https:\/\/sunraycityguide.com\/Massachusetts-LeadingEdge\/?post_type=avada_portfolio&#038;p=2690"},"modified":"2024-08-13T16:13:52","modified_gmt":"2024-08-13T16:13:52","slug":"south-shore","status":"publish","type":"avada_portfolio","link":"https:\/\/sunraycityguide.com\/Massachusetts-LeadingEdge\/portfolio-items\/south-shore\/","title":{"rendered":"South Shore"},"content":{"rendered":"<p><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 fusion-flex-container has-mask-background nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--link_hover_color: #434549;--link_color: #141617;--awb-border-sizes-top:0px;--awb-border-sizes-bottom:0px;--awb-border-sizes-left:0px;--awb-border-sizes-right:0px;--awb-border-color:#fcf4ec;--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-padding-top:19px;--awb-padding-right:30px;--awb-padding-bottom:0px;--awb-padding-left:30px;--awb-padding-top-small:60px;--awb-padding-bottom-small:60px;--awb-margin-top:-50px;--awb-margin-bottom:0px;--awb-background-color:#fcf4ec;--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-justify-content-center fusion-flex-content-wrap\" style=\"max-width:calc( 1170px + 100px );margin-left: calc(-100px \/ 2 );margin-right: calc(-100px \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_1 1_1 fusion-flex-column fusion-animated\" style=\"--awb-padding-right:58px;--awb-padding-left:55px;--awb-padding-right-small:2px;--awb-padding-left-small:0px;--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:0px;--awb-margin-bottom-large:16px;--awb-spacing-left-large:0px;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:0px;--awb-spacing-left-medium:0px;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:50px;--awb-margin-bottom-small:44px;--awb-spacing-left-small:50px;\" data-animationType=\"fadeInUp\" data-animationDuration=\"1.3\" data-animationOffset=\"top-into-view\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div ><a class=\"fusion-button button-3d button-large button-custom fusion-button-default button-1 fusion-button-default-span \" style=\"--button_bevel_color:var(--awb-color5);--button_bevel_color_hover:var(--awb-custom_color_12);--button_accent_color:var(--awb-color2);--button_border_color:var(--awb-color2);--button_accent_hover_color:var(--awb-color1);--button_border_hover_color:var(--awb-color1);--button_gradient_top_color:var(--awb-custom_color_4);--button_gradient_bottom_color:var(--awb-custom_color_4);--button_gradient_top_color_hover:var(--awb-custom_color_6);--button_gradient_bottom_color_hover:var(--awb-custom_color_6);\" target=\"_self\" data-hover=\"text_slide_up\" href=\"#yelp\"><span class=\"fusion-button-icon-divider button-icon-divider-left\"><i class=\"fa-yelp fab awb-button__icon awb-button__icon--default\" aria-hidden=\"true\"><\/i><\/span><div class=\"awb-button-text-transition \"><span class=\"fusion-button-text awb-button__text awb-button__text--default fusion-button-text-left\">Local Yelp Search<\/span><span class=\"fusion-button-text awb-button__text awb-button__text--default fusion-button-text-left\">Local Yelp Search<\/span><\/div><\/a><\/div><div class=\"fusion-title title fusion-title-1 fusion-title-center fusion-title-text fusion-title-size-one\" style=\"--awb-text-color:#141617;--awb-margin-top:2px;--awb-margin-bottom:-50px;--awb-margin-top-small:10px;--awb-margin-right-small:0px;--awb-margin-bottom-small:-20px;--awb-margin-left-small:0px;--awb-sep-color:#fcf4ec;--awb-font-size:65px;\"><div class=\"title-sep-container title-sep-container-left\"><div class=\"title-sep sep- sep-solid\" style=\"border-color:#fcf4ec;\"><\/div><\/div><span class=\"awb-title-spacer\"><\/span><h1 class=\"fusion-title-heading title-heading-center\" style=\"font-family:&quot;Unna&quot;;font-style:normal;font-weight:400;margin:0;text-transform:var(--awb-typography1-text-transform);font-size:1em;line-height:1.2;\"><h2 class=\"fusion-title-heading title-heading-left fusion-live-editable fusion-responsive-typography-calculated medium-editor-element\" role=\"textbox\" contenteditable=\"true\" spellcheck=\"true\" data-inline-parent-cid=\"10\" data-inline-override-color=\"text_color\" data-inline-override-font-size=\"font_size\" data-inline-override-line-height=\"line_height\" data-inline-override-letter-spacing=\"letter_spacing\" data-inline-override-tag=\"size\" data-toolbar=\"full\" data-param=\"element_content\" data-fontsize=\"26\" data-lineheight=\"28.8667px\" data-medium-editor-element=\"true\" aria-multiline=\"true\" data-medium-editor-editor-index=\"1\" data-placeholder=\"Your Content Goes Here\" data-medium-focused=\"true\"><strong>South Shore<\/strong><\/h2><\/h1><span class=\"awb-title-spacer\"><\/span><div class=\"title-sep-container title-sep-container-right\"><div class=\"title-sep sep- sep-solid\" style=\"border-color:#fcf4ec;\"><\/div><\/div><\/div><div class=\"fusion-text fusion-text-1 fusion-text-no-margin\" style=\"--awb-content-alignment:center;--awb-font-size:15px;--awb-line-height:24px;--awb-letter-spacing:0px;--awb-text-transform:var(--awb-typography4-text-transform);--awb-text-color:#141617;--awb-margin-right:0px;--awb-margin-bottom:0px;--awb-margin-left:0px;--awb-text-font-family:&quot;Montserrat&quot;;--awb-text-font-style:normal;--awb-text-font-weight:400;\"><p style=\"text-align: left;\">Offering a perfect blend of coastal beauty and suburban comfort, South Shore Boston provides an exceptional lifestyle. The region is known for its excellent schools and safe, family-friendly neighborhoods, making it ideal for raising children. Residents enjoy a variety of outdoor activities, from exploring beautiful beaches and scenic parks to boating and fishing along the coastline. The vibrant local culture includes charming town centers with unique shops, diverse dining options, and numerous community events that foster a lively social atmosphere. Proximity to Boston ensures easy access to urban amenities and employment opportunities while allowing residents to retreat to a serene, picturesque environment. This combination of natural beauty, strong community ties, and convenient access to city life makes South Shore Boston a highly desirable place to call home.<\/p>\n<\/div><\/div><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-1 fusion_builder_column_1_1 1_1 fusion-flex-column fusion-animated\" style=\"--awb-padding-right:37px;--awb-padding-left:8px;--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:calc( 0.051 * calc( 100% - 100px ) );--awb-margin-bottom-large:80px;--awb-spacing-left-large:50px;--awb-width-medium:33.333333333333%;--awb-order-medium:0;--awb-spacing-right-medium:calc( 0.153 * calc( 100% - 100px ) );--awb-spacing-left-medium:50px;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:50px;--awb-margin-bottom-small:40px;--awb-spacing-left-small:50px;\" data-animationType=\"fadeInUp\" data-animationDuration=\"1.3\" data-animationOffset=\"top-into-view\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-2\"><p><a href=\"https:\/\/www.abingtonma.gov\/\"><strong>Abington<\/strong><\/a><br \/>Characterized by its strong sense of community and suburban charm, Abington is an exceptional place to live. The town offers excellent schools and a safe, welcoming environment, making it ideal for families. Residents benefit from numerous recreational opportunities, including well-maintained parks, sports fields, and scenic walking trails. The vibrant town center features a variety of local shops, restaurants, and community events, fostering a lively and engaging atmosphere. Convenient access to major highways and public transportation ensures easy commutes to Boston and surrounding areas. This blend of community warmth, recreational amenities, and accessibility makes Abington a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.acushnet.ma.us\/\"><strong>Acushnet<\/strong><\/a><br \/>With its serene landscapes and close-knit community, Acushnet offers an exceptional living experience. The town provides excellent schools and a welcoming environment, making it ideal for families. Residents enjoy various outdoor activities, with beautiful parks, walking trails, and local farms offering opportunities for recreation and relaxation. The charming town center features unique shops, local dining options, and community events that foster a warm, small-town atmosphere. Conveniently located near major highways, Acushnet ensures easy access to New Bedford and other nearby cities. This combination of natural beauty, community spirit, and accessibility makes Acushnet a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.townofberkleyma.com\/\"><strong>Berkley<\/strong><\/a><br \/>Offering a blend of rural tranquility and community warmth, Berkley is an excellent place to live. The town boasts excellent schools and a safe, welcoming environment, making it ideal for families. Residents enjoy an array of outdoor activities, with beautiful parks, scenic trails, and the Taunton River providing opportunities for recreation and relaxation. The town center features local shops, cozy dining options, and various community events that enhance the small-town charm. Convenient access to major highways ensures easy commutes to nearby cities such as Taunton and Fall River. This combination of peaceful living, community spirit, and accessibility makes Berkley a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.braintreema.gov\/\"><strong>Braintree<\/strong><\/a><a href=\"https:\/\/www.braintreema.gov\/\"><br \/><\/a>Known for its vibrant community and convenient location, Braintree is an exceptional place to live. The town offers top-rated schools and a variety of family-friendly amenities, making it ideal for raising children. Residents enjoy numerous recreational opportunities, including beautiful parks, sports facilities, and the scenic Blue Hills Reservation. The bustling town center features an array of shops, restaurants, and entertainment options, contributing to a lively social scene. With excellent access to major highways and public transportation, commuting to Boston and other nearby areas is a breeze. This combination of educational excellence, recreational amenities, and accessibility makes Braintree a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.carverma.gov\/\"><strong>Carver<\/strong><\/a><br \/>With picturesque landscapes and a welcoming community, Carver offers an exceptional living experience. The town is home to excellent schools and a safe, family-friendly environment, making it ideal for raising children. Residents enjoy a variety of outdoor activities, from exploring beautiful cranberry bogs and scenic trails to visiting local attractions like Edaville Family Theme Park. The town center features charming shops, local dining options, and community events that foster a strong sense of togetherness. Convenient access to major highways ensures easy commutes to nearby cities, blending rural charm with modern convenience. This combination of natural beauty, community spirit, and accessibility makes Carver a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.cohassetma.org\/\"><strong>Cohasset<\/strong><\/a><br \/>Offering coastal beauty and a tight-knit community, Cohasset is a fantastic place to live. The town boasts excellent schools and a family-friendly atmosphere, making it an ideal location for raising children. Residents enjoy numerous recreational activities, including beautiful beaches, scenic parks, and boating opportunities. The charming town center is filled with unique shops, local restaurants, and cultural attractions, creating a lively and engaging environment. With convenient access to Boston via commuter rail and major highways, Cohasset combines the tranquility of seaside living with the conveniences of urban accessibility. This blend of natural beauty, community warmth, and ease of commuting makes Cohasset a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.town.dartmouth.ma.us\/\"><strong>Dartmouth<\/strong><\/a><br \/>Featuring a blend of coastal charm and vibrant community life, Dartmouth offers an exceptional living experience. The town is home to excellent schools and provides a safe, welcoming environment, ideal for families. Residents can enjoy a variety of outdoor activities, including exploring beautiful beaches, scenic parks, and nature trails. The local area boasts a range of shops, restaurants, and cultural attractions, creating a lively and engaging atmosphere. With convenient access to major highways and nearby cities, Dartmouth ensures easy commutes while maintaining a peaceful, small-town feel. This combination of natural beauty, strong community spirit, and accessibility makes Dartmouth a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.dighton-ma.gov\/\"><strong>Dighton<\/strong><\/a><br \/>Combining rural tranquility with community warmth, Dighton is an exceptional place to live. The town provides excellent schools and a safe, family-friendly environment, making it ideal for raising children. Residents enjoy various outdoor activities, including exploring scenic parks, trails, and the Taunton River. The local area features charming shops, local dining options, and community events that foster a close-knit atmosphere. Convenient access to major highways ensures easy commutes to nearby cities such as Taunton and Providence. This combination of peaceful living, strong community ties, and accessibility makes Dighton a highly desirable place to call home. Combining rural tranquility with community warmth, Dighton is an exceptional place to live. The town provides excellent schools and a safe, family-friendly environment, making it ideal for raising children. Residents enjoy various outdoor activities, including exploring scenic parks, trails, and the Taunton River. The local area features charming shops, local dining options, and community events that foster a close-knit atmosphere. Convenient access to major highways ensures easy commutes to nearby cities such as Taunton and Providence. This combination of peaceful living, strong community ties, and accessibility makes Dighton a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.town.duxbury.ma.us\/\"><strong>Duxbury<\/strong><\/a><br \/>Featuring scenic coastal beauty and a vibrant community, Duxbury offers an exceptional living experience. The town is home to top-rated schools and a family-friendly atmosphere, making it ideal for raising children. Residents enjoy a variety of outdoor activities, from relaxing on beautiful beaches to exploring numerous parks and engaging in water sports. The charming town center boasts unique shops, delightful restaurants, and cultural events that foster a lively social scene. Convenient access to Boston via major highways and public transportation ensures that urban amenities are easily reachable. This blend of natural beauty, strong community ties, and accessibility makes Duxbury a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.fairhaven-ma.gov\/\"><strong>Fairhaven<br \/><\/strong><\/a>With its picturesque waterfront views and historic charm, Fairhaven is a wonderful place to live. The town boasts excellent schools and a welcoming, family-friendly atmosphere, making it ideal for raising children. Residents can engage in a variety of outdoor activities, from exploring scenic parks and beautiful beaches to enjoying boating opportunities. The vibrant town center, with its unique shops, local restaurants, and cultural attractions, fosters a lively and engaging community. Convenient access to major highways and nearby cities ensures that urban amenities are easily within reach. This combination of natural beauty, community spirit, and accessibility makes Fairhaven a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.fallriverma.gov\/\"><strong>Fall River<\/strong><\/a><br \/>Rich in cultural heritage and vibrant community life, Fall River is an excellent place to live. The city boasts excellent schools and a variety of family-friendly amenities, making it ideal for raising children. Residents enjoy numerous recreational opportunities, including beautiful parks, scenic waterfronts, and cultural attractions such as museums and historical sites. The bustling downtown area presents a diverse range of shops, restaurants, and entertainment options, creating a lively urban atmosphere. Convenient access to major highways and public transportation ensures easy commutes to Boston and other nearby cities. This blend of historical charm, community warmth, and urban convenience makes Fall River a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.freetownma.gov\/\"><strong>Freetown<\/strong><\/a><br \/>Situated in a serene environment with a strong sense of community, Freetown is a wonderful place to live. The town has excellent schools and a safe, family-friendly atmosphere, making it perfect for raising children. Residents enjoy various outdoor activities, including exploring scenic parks, nature trails, and nearby lakes. The local area includes unique shops, cozy dining options, and community events that foster a close-knit atmosphere. Convenient access to major highways ensures easy commutes to Boston and surrounding cities. This combination of natural beauty, community spirit, and accessibility makes Freetown a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.hanover-ma.gov\/\"><strong>Hanover<\/strong><\/a><br \/>Boasting a vibrant community and excellent amenities, Hanover is an exceptional place to live. The town provides top-rated schools and a safe, family-friendly environment, making it ideal for raising children. Residents have access to a variety of outdoor activities, including well-maintained parks, sports fields, and nature trails. The charming town center is filled with unique shops, local restaurants, and community events that foster a strong sense of togetherness. Convenient access to major highways ensures easy commutes to Boston and nearby areas. This blend of community warmth, educational excellence, and accessibility makes Hanover a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.hanson-ma.gov\/\"><strong>Hanson<\/strong><\/a><br \/>Surrounded by natural beauty and a tight-knit community, Hanson is an exceptional place to live. The town boasts excellent schools and a welcoming, family-friendly atmosphere, making it ideal for raising children. Residents enjoy a variety of outdoor activities, from exploring scenic parks and lakes to participating in local sports leagues. The quaint town center is home to charming shops, cozy restaurants, and numerous community events that bring neighbors together. With convenient access to major highways and public transportation, commuting to Boston and nearby cities is straightforward. This combination of natural beauty, community spirit, and accessibility makes Hanson a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/hingham-ma.gov\/\"><strong>Hingham<\/strong><\/a><br \/>Characterized by its coastal charm and vibrant community, Hingham stands out as a wonderful place to live. The town provides excellent schools and a safe, family-friendly atmosphere, making it perfect for raising children. Residents can enjoy a variety of outdoor activities, from visiting beautiful beaches and parks to exploring extensive hiking trails. The historic town center features unique shops, local restaurants, and cultural attractions, creating a lively and engaging environment. With convenient access to Boston via major highways and public transportation, including a commuter ferry, residents benefit from both serene living and urban convenience. This blend of coastal beauty, community spirit, and accessibility makes Hingham a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.town.hull.ma.us\/\"><strong>Hull<\/strong><\/a><br \/>Embracing coastal beauty and a close-knit community, Hull provides an exceptional living experience. The town boasts excellent schools and a welcoming, family-friendly environment, making it an ideal place for raising children. Residents enjoy an array of outdoor activities, from beach outings and water sports to exploring local parks and trails. The vibrant town center includes a mix of unique shops, restaurants, and cultural attractions that contribute to a lively atmosphere. With convenient access to Boston via major highways and a commuter ferry, Hull combines the charm of seaside living with urban convenience. This perfect blend of natural beauty, community warmth, and accessibility makes Hull a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.kingstonma.gov\/\"><strong>Kingston<\/strong><\/a><br \/>Surrounded by natural beauty and a strong sense of community, Kingston is an exceptional place to live. The town provides excellent schools and a safe, family-friendly environment, making it perfect for raising children. Residents enjoy various outdoor activities, including scenic parks, nature trails, and nearby waterways. The charming town center is home to unique shops, cozy restaurants, and community events that foster a close-knit atmosphere. Convenient access to major highways and public transportation ensures easy commutes to Boston and other nearby cities. This combination of natural beauty, community spirit, and accessibility makes Kingston a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.marionma.gov\/\"><strong>Marion<\/strong><\/a><br \/>With its coastal charm and strong community ties, Marion is a fantastic place to live. The town boasts excellent schools and a family-friendly environment, making it ideal for raising children. Residents have access to a variety of outdoor activities, including beautiful beaches, boating, and scenic parks. The vibrant town center is filled with unique shops, local restaurants, and cultural events that create a lively and welcoming atmosphere. Convenient access to major highways ensures easy commutes to nearby cities, blending serene coastal living with modern conveniences. This combination of community warmth, educational excellence, and natural beauty makes Marion a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.marshfield-ma.gov\/\"><strong>Marshfield<\/strong><\/a><br \/>Combining coastal beauty with a vibrant community spirit, Marshfield stands out as an exceptional place to live. The town boasts top-rated schools and a family-friendly atmosphere, making it perfect for raising children. Residents enjoy an array of outdoor activities, including beach outings, boating, and exploring scenic parks and trails. The bustling town center features an assortment of shops, restaurants, and cultural events, creating a lively and engaging environment. Convenient access to major highways and public transportation ensures easy commutes to Boston and surrounding areas. This blend of natural beauty, strong community ties, and accessibility makes Marshfield a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.mattapoisett.net\/\"><strong>Mattapoisett<\/strong><\/a><a href=\"https:\/\/www.mattapoisett.net\/\"><br \/><\/a>Surrounded by serene coastal landscapes and a welcoming community, Mattapoisett is a wonderful place to live. The town boasts excellent schools and a family-friendly atmosphere, making it ideal for raising children. Residents can engage in various outdoor activities, such as beach outings, sailing, and exploring scenic parks. The charming town center is home to unique shops, local restaurants, and community events that foster a strong sense of togetherness. Convenient access to major highways ensures easy commutes to nearby cities, blending coastal tranquility with urban convenience. This combination of natural beauty, community spirit, and accessibility makes Mattapoisett a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.newbedford-ma.gov\/\"><strong>New Bedford<\/strong><\/a><br \/>Rich in history and cultural diversity, New Bedford is an exceptional place to live. The city provides excellent schools and a variety of family-friendly amenities, making it ideal for raising children. Residents can enjoy a wide range of activities, from exploring historic sites and museums to strolling along the scenic waterfront. The vibrant downtown area is bustling with unique shops, diverse restaurants, and frequent cultural events, creating a lively and engaging atmosphere. With convenient access to major highways and public transportation, commuting to Boston and other nearby areas is straightforward. This blend of historical charm, community vibrancy, and accessibility makes New Bedford a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.townofnorwell.net\/\"><strong>Norwell<\/strong><\/a><br \/>Combining suburban tranquility with a vibrant community spirit, Norwell is an exceptional place to live. The town boasts excellent schools and a safe, family-friendly atmosphere, making it ideal for raising children. Residents have access to numerous outdoor activities, including well-maintained parks, scenic trails, and recreational facilities. The charming town center is home to unique shops, local restaurants, and community events that foster a close-knit atmosphere. Convenient access to major highways ensures easy commutes to Boston and nearby areas. This blend of natural beauty, community warmth, and accessibility makes Norwell a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.pembroke-ma.gov\/\"><strong>Pembroke<\/strong><\/a><a href=\"https:\/\/www.pembroke-ma.gov\/\"><br \/><\/a>Pembroke stands out as a fantastic place to live, combining suburban comfort with a vibrant community spirit. The town boasts excellent schools and a welcoming, family-friendly atmosphere, making it ideal for raising children. Residents enjoy a variety of outdoor activities, including exploring scenic parks, nature trails, and local ponds. The town center is filled with unique shops, cozy restaurants, and community events that foster a sense of togetherness. Convenient access to major highways ensures easy commutes to Boston and nearby cities. This blend of community warmth, natural beauty, and accessibility makes Pembroke a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.plymouth-ma.gov\/\"><strong>Plymouth<\/strong><\/a><br \/>Coastal charm and a vibrant community make Plymouth an excellent place to call home. The town provides top-rated schools and a family-friendly atmosphere, making it ideal for raising children. Residents can enjoy a variety of outdoor activities, from relaxing on beautiful beaches to exploring numerous parks and trails. The bustling town center features an array of shops, restaurants, and cultural events that create a lively and engaging environment. With convenient access to major highways and public transportation, commuting to Boston and nearby cities is straightforward. This blend of natural beauty, community spirit, and accessibility makes Plymouth a highly desirable place to live.<\/p>\n<p><a href=\"https:\/\/www.town.plympton.ma.us\/\"><strong>Plympton<\/strong><\/a><br \/>Plympton provides a serene and family-friendly environment perfect for those seeking a peaceful lifestyle. The town is home to excellent schools and a close-knit community that welcomes newcomers with open arms. Residents enjoy outdoor activities such as exploring scenic parks, nature trails, and local farms. The town center includes charming shops, cozy restaurants, and frequent community events that foster a strong sense of togetherness. Convenient access to major highways ensures easy commutes to Boston and other nearby cities. This combination of tranquility, community spirit, and accessibility makes Plympton a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.quincyma.gov\/\"><strong>Quincy<\/strong><\/a><a href=\"https:\/\/www.quincyma.gov\/\"><br \/><\/a>A vibrant community with diverse amenities, Quincy is an excellent place to live. The city boasts top-rated schools and a family-friendly atmosphere, making it ideal for raising children. Residents can enjoy various recreational activities, from beautiful beaches and parks to extensive hiking trails. The bustling downtown area is filled with unique shops, diverse dining options, and cultural attractions, creating a lively urban environment. With its convenient access to major highways and public transportation, commuting to Boston and other nearby areas is effortless. This blend of community spirit, recreational opportunities, and urban convenience makes Quincy a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.randolph-ma.gov\/\"><strong>Randolph<\/strong><\/a><a href=\"https:\/\/www.randolph-ma.gov\/\"><br \/><\/a>Providing an exceptional living experience, Randolph boasts a vibrant community and excellent amenities. The town features top-tier schools and a welcoming, family-friendly atmosphere, making it perfect for raising children. Residents enjoy a variety of recreational options, including well-maintained parks, sports fields, and community centers. The local dining scene offers diverse restaurants and unique shops, fostering a lively and engaging environment. With convenient access to major highways and public transportation, commuting to Boston and nearby areas is straightforward. This blend of community warmth, recreational opportunities, and urban accessibility makes Randolph a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.townofrochestermass.com\/\"><strong>Rochester<\/strong><\/a><br \/>With its blend of rural charm and modern conveniences, Rochester provides an exceptional living experience. Excellent schools and a safe, family-friendly environment make it ideal for raising children. Residents can enjoy a variety of outdoor activities, including exploring scenic parks, nature trails, and local farms. The community is close-knit, with frequent local events and gatherings that foster strong neighborhood connections. Convenient access to major highways ensures easy commutes to nearby cities, balancing tranquility with accessibility. This combination of natural beauty, community spirit, and convenience makes it a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/rockland-ma.gov\/\"><strong>Rockland<\/strong><\/a><br \/>Providing a welcoming and family-friendly environment, Rockland is an excellent place to live. The town boasts top-rated schools and a variety of recreational activities, including well-maintained parks, sports fields, and community centers. Residents enjoy a lively local culture with unique shops, diverse dining options, and frequent community events that bring neighbors together. Convenient access to major highways and public transportation ensures easy commutes to Boston and nearby cities. This combination of strong community ties, recreational opportunities, and accessibility makes Rockland a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.scituatema.gov\/\"><strong>Scituate<\/strong><\/a><br \/>Combining coastal beauty with a vibrant community spirit, Scituate is an exceptional place to live. The town offers excellent schools and a safe, family-friendly atmosphere, making it ideal for raising children. Residents enjoy a variety of outdoor activities, from beach outings and boating to exploring scenic parks and hiking trails. The charming town center features unique shops, local restaurants, and cultural events, creating a lively and engaging environment. With convenient access to Boston via major highways and public transportation, Scituate provides both the tranquility of seaside living and the convenience of urban accessibility. This blend of natural beauty, community warmth, and ease of commuting makes Scituate a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.seekonk-ma.gov\/\"><strong>Seekonk<\/strong><\/a><br \/>Providing a blend of suburban comfort and community warmth, Seekonk is an exceptional place to live. The town offers excellent schools and a family-friendly environment, making it perfect for raising children. Residents can enjoy a variety of outdoor activities, including well-maintained parks, sports fields, and nature trails. The local area features charming shops, diverse dining options, and frequent community events that foster a close-knit atmosphere. Convenient access to major highways ensures easy commutes to Providence and nearby cities. This combination of strong community ties, recreational opportunities, and accessibility makes Seekonk a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.townofsomerset.org\/\"><strong>Somerset<\/strong><\/a><br \/>Characterized by its strong sense of community and family-friendly atmosphere, Somerset is an excellent place to call home. The town boasts top-rated schools and a variety of recreational activities, including scenic parks, sports fields, and waterfront access for boating and fishing. Residents enjoy a vibrant local culture with unique shops, delightful restaurants, and community events that bring neighbors together. Convenient access to major highways ensures easy commutes to Providence, Boston, and nearby areas. This blend of educational excellence, community warmth, and accessibility makes Somerset a highly desirable place to live.<\/p>\n<p><a href=\"https:\/\/www.swanseama.gov\/\"><strong>Swansea<\/strong><\/a><br \/>Combining a welcoming community with a peaceful suburban atmosphere, Swansea is an exceptional place to live. The town offers excellent schools and a safe environment, making it ideal for families. Residents can enjoy numerous outdoor activities, including scenic parks, nature trails, and waterfront access for boating and fishing. The vibrant town center features charming shops, local restaurants, and community events that foster a close-knit atmosphere. Convenient access to major highways ensures easy commutes to Providence and other nearby cities. This blend of natural beauty, strong community ties, and accessibility makes Swansea a highly desirable place to call home.<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br \/><a href=\"https:\/\/www.westport-ma.com\/\"><strong>Westport<\/strong><\/a><br \/>Embracing a blend of rural charm and coastal beauty, Westport is a wonderful place to live. The town provides excellent schools and a welcoming, family-friendly environment, making it perfect for raising children. Residents enjoy a variety of outdoor activities, from exploring scenic beaches and nature reserves to visiting local farms and wineries. The town center offers unique shops, local dining options, and a vibrant community atmosphere with frequent events and gatherings. Convenient access to major highways ensures easy commutes to nearby cities such as New Bedford and Fall River. This combination of natural splendor, community warmth, and accessibility makes Westport a highly desirable place to call home.<\/p>\n<p><a href=\"https:\/\/www.weymouth.ma.us\/\"><strong>Weymouth<\/strong><\/a><br \/>Known for its welcoming community and suburban charm, Weymouth offers an exceptional living environment. The town features excellent schools and a family-friendly atmosphere, making it ideal for residents of all ages. Outdoor enthusiasts can explore numerous parks, recreational facilities, and scenic trails, while the bustling town center provides diverse dining options, local shops, and community events that foster a strong sense of belonging. Conveniently located with easy access to major highways and public transportation, Weymouth ensures seamless commutes to Boston and nearby cities. This blend of community spirit, recreational opportunities, and accessibility makes Weymouth a highly desirable place to call home.<\/p>\n<\/div><\/div><\/div><\/div><\/div><div id=\"yelp\" class=\"fusion-container-anchor\"><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-2 fusion-flex-container has-pattern-background has-mask-background nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-padding-top:26px;--awb-flex-wrap:wrap;--awb-flex-wrap-small:wrap;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-content-wrap\" style=\"max-width:1216.8px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-2 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:20px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-title title fusion-title-2 fusion-title-center fusion-title-text fusion-title-size-one\" style=\"--awb-text-color:var(--awb-custom_color_4);--awb-margin-bottom:-10px;--awb-margin-top-small:0px;--awb-margin-right-small:0px;--awb-margin-bottom-small:20px;--awb-margin-left-small:0px;\"><div class=\"title-sep-container title-sep-container-left\"><div class=\"title-sep sep- sep-solid\" style=\"border-color:var(--awb-color3);\"><\/div><\/div><span class=\"awb-title-spacer\"><\/span><h1 class=\"fusion-title-heading title-heading-center\" style=\"margin:0;\"><h1 style=\"text-align: center;\">Local Activities &amp; Information<\/h1><\/h1><span class=\"awb-title-spacer\"><\/span><div class=\"title-sep-container title-sep-container-right\"><div class=\"title-sep sep- sep-solid\" style=\"border-color:var(--awb-color3);\"><\/div><\/div><\/div><div class=\"fusion-text fusion-text-3\"><p style=\"text-align: center;\"><span style=\"color: var(--awb-custom_color_5);\">Use the search box below to find listings on anything from Restaurants and Coffee Shops, to Grocery Stores, Schools and much more.<br \/>\nThe <\/span><b style=\"color: var(--awb-custom_color_5);\">More<\/b><span style=\"color: var(--awb-custom_color_5);\"> menu will give you some options as well. <\/span><\/p>\n<\/div><!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<title>Yelp Store Locator<\/title>\n<style>\nbody {\n    font-family: Arial, sans-serif;\n    margin: 0;\n    padding: 0;\n    background: #f8f8f8; \/* Slight grey background *\/\n}\n\n\/* Flex container for the whole page content *\/\n.form-wrapper {\n    display: flex;\n    justify-content: space-around; \/* Evenly distribute space around items *\/\n    flex-wrap: wrap; \/* Allow items to wrap if not enough space *\/\n    margin: 20px;\n}\n\n\/* Search form and results container *\/\n.form-wrapper .form-container {\n    flex-basis: 47%;\n    margin-bottom: 20px;\n}\n\n\/* Search bar at the top *\/\n.search-top {\n    margin-top: 20px;\n}\n.search-bar {\n    max-width: 1024px;\n    padding:0 20px;\n    padding: 10px;\n    border-radius: 4px;\n    margin: 0 auto 20px;\n}\n.search-bar #searchForm {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    box-shadow: rgba(0,0,0,0.15) 0px 2px 18px 0px;\n}\n.search-field {\n    flex: 1;\n}\n.search-field.desc {\n    position: relative;\n}\n.search-field.desc::after {\n    content: '';\n    position: absolute;\n    top: 10px;\n    bottom: 10px;\n    right: 0;\n    width: 2px;\n    background-color: rgba(0, 0, 0, 0.2);\n}\n#searchForm .search-field input {\n    border: 0;\n  \n}\n.search-field.category-dropdown select {\n    width: auto;\n    background: transparent;\n    margin-top:15px;\n}\n.search-field input[type=\"text\"],\n.search-field select {\n    width: 100%; \/* Full width of parent *\/\n    padding: 15px 10px;\n    border: 1px solid #ddd;\n    font-size: 14px;\n    box-sizing: border-box;\n}\n\n\/* Search button styling *\/\n.search-button button {\n    padding: 17px 20px;\n    background-color: #ff0000; \/* Yelp red *\/\n    color: #fff;\n    border: none;\n    border-radius: 4px;\n    cursor: pointer;\n    text-transform: uppercase;\n    font-weight: bold;\n}\n\n\/* Style the pagination buttons *\/\n.pagination{\n    border-top: 1px solid #e3d8d8;\n    padding: 15px 0;\n    margin-top: 20px;\n    border-bottom: 1px solid #e3d8d8;\n}\n\n\n.pagination button {\n    background: none;\n    padding: 5px 10px;\n    border-radius: 4px;\n    margin-right: 5px;\n    border: none;\n    cursor: pointer;\n    font-size: 16px;\n}\n\n.pagination button.active,\n.pagination button:hover {\n    font-weight: bold;\n}\n\n\/* Map container styling *\/\n#map {\n    flex: 1;\n    height: 700px; \/* Adjusted height for consistency *\/\n    border-radius: 4px; \/* Rounded corners *\/\n    overflow: hidden; \/* Clip the content *\/\n    margin-left: 20px; \/* Space from the form container *\/\n}\n\n\/* Search results card styles *\/\n.card {\n    display: flex;\n    background: #fff;\n    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n    border-radius: 4px;\n    overflow: hidden;\n    align-items: center;\n    padding: 0 15px;\n    border-bottom: 1px solid #eee;\n}\n\n.card img {\n    width: 200px; \/* Slightly smaller images *\/\n    height: 200px;\n    object-fit: cover;\n}\n\n.card-content {\n    padding: 15px;\n    flex-grow: 1;\n}\n\n\/* Loader style adjustments *\/\n#loader {\n    display: none; \/* Hide by default, show when loading *\/\n    position: fixed; \/* Or absolute, depending on use-case *\/\n    top: 50%;\n    left: 50%;\n    transform: translate(-50%, -50%);\n    text-align: center;\n}\n\n#loader img {\n    width: 50px; \/* Adjust as needed *\/\n    height: 50px; \/* Adjust as needed *\/\n    \/* Animation for spinning *\/\n    animation: spin 1s linear infinite;\n}\n\n\/* Loader animation *\/\n@keyframes spin {\n    0% { transform: translate(-50%, -50%) rotate(0deg); }\n    100% { transform: translate(-50%, -50%) rotate(360deg); }\n}\n\n@media (max-width: 768px) {\n    .form-wrapper {\n        flex-direction: column; \/* Stack on smaller screens *\/\n    }\n\n    .form-container,\n    #map {\n        width: 100%;\n        max-width: none;\n        margin-left: 0; \/* Remove margin for full width *\/\n    }\n\n    #map {\n        order: -1; \/* Map comes before search results on small screens *\/\n    }\n}\n\n\/* Add responsive design for very small screens *\/\n@media (max-width: 480px) {\n    .search-bar {\n        flex-direction: column; \/* Stack form fields vertically *\/\n    }\n\n    .search-field,\n    .search-button button {\n        width: 100%; \/* Full width for small screens *\/\n        margin: 5px 0; \/* Add space between stacked items *\/\n    }\n}\n\n\/* Style the dropdown button *\/\n.dropbtn {\n    background-color: transparent;\n    color: black;\n    padding: 16px;\n    font-size: 16px;\n    border: none;\n    cursor: pointer;\n}\n\n\/* The container <div> - needed to position the dropdown content *\/\n.dropdown {\n    position: relative;\n    display: inline-block;\n    margin: 10px 0;\n}\n\n\/* Dropdown Content (Hidden by Default) *\/\n.dropdown-content {\n    display: none;\n    position: absolute;\n    background-color: #f9f9f9;\n    min-width: 240px;\n    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n    z-index: 1;\n    gap: 20px;\n    padding: 0 10px;\n}\n\n\/* Links inside the dropdown *\/\n.dropdown-content span {\n    color: black;\n    padding: 16px 0;\n    text-decoration: none;\n    display: flex;\n    align-items: center;\n    cursor: pointer;\n}\n\n.dropdown-content .flex-links{\n        padding: 12px 0\n}\n\n\/* Icon styling *\/\n.icon {\n    margin-right: 10px;\n    \/* You can use SVGs or Font Icons like FontAwesome, or background-image with sprites *\/\n}\n\n\/* Change color of dropdown links on hover *\/\n.dropdown-content span:hover {background-color: #ddd;}\n\n\/* Show the dropdown menu on hover *\/\n.dropdown:hover .dropdown-content {\n    \/* display: block; *\/\n    display: flex;\n}\n\n\/* Show the dropdown menu on focus *\/\n.dropdown:focus-within .dropdown-content {\n    display: block;\n}\n\n\/* Other styles for icons can be added here, using the specific class names *\/\n.dry-cleaning-icon {\n    \/* Add background-image or other styling for the dry cleaning icon *\/\n}\n\n.pagination, #loader {\n    display: none; \/* Hidden by default *\/\n}\n\n.autocomplete-results {\n    display: none;\n    position: absolute;\n    background: white;\n    border: 1px solid #ddd;\n    border-top: none;\n    z-index: 2;\n    width: 100%;\n    box-sizing: border-box;\n}\n\n.autocomplete-suggestion {\n    padding: 10px;\n    border-bottom: 1px solid #ddd;\n    cursor: pointer;\n}\n\n.autocomplete-suggestion:last-child {\n    border-bottom: none;\n}\n\n.autocomplete-suggestion:hover {\n    background-color: #f8f8f8;\n}\n\n\n\/* Similarly add specific icon styles for other menu items *\/\n<\/style>\n<\/head>\n<body>\n<div class=\"search-top\">\n    <div class=\"search-bar\">\n        <form id=\"searchForm\" action=\"\/yelp-store-locator\" method=\"get\">\n            <div class=\"search-field desc\">\n                <input type=\"text\" id=\"searchDescription\" name=\"searchDescription\" placeholder=\"Search description\">\n                <div id=\"autocomplete-results\" class=\"autocomplete-results\"><\/div>\n            <\/div>\n            \n            <div class=\"search-field location\">\n                <input type=\"text\" id=\"locationQuery\" name=\"location\" placeholder=\"Enter search location\" value=\"Boston, MA\" required>\n            <\/div>\n            <div class=\"search-button\">\n                <button type=\"submit\">Search<\/button>\n            <\/div>\n        <\/form>\n\n        <div class=\"dropdown\">\n            <span class=\"dropbtn\">More \u25bc<\/span>\n            <div class=\"dropdown-content\">\n                <div class=\"flex-links\">\n                    <span>\n                        <i class=\"icon dry-cleaning-icon\"><\/i> Restaurants\n                    <\/span>\n                    <span>\n                        <i class=\"icon hair-salons-icon\"><\/i> Coffee Shops\n                    <\/span>\n                    <span>\n                        <i class=\"icon phone-repair-icon\"><\/i> Grocery Stores\n                    <\/span>\n                    <span>\n                        <i class=\"icon phone-repair-icon\"><\/i> Nightlife\n                    <\/span>\n                <\/div>\n                <div class=\"flex-links\">\n                    <span>\n                        <i class=\"icon phone-repair-icon\"><\/i> Medical\n                    <\/span>\n                    <span>\n                        <i class=\"icon phone-repair-icon\"><\/i> Activities\n                    <\/span>\n                    <span>\n                        <i class=\"icon phone-repair-icon\"><\/i> Schools\n                    <\/span>\n                    <span>\n                        <i class=\"icon phone-repair-icon\"><\/i> Hair Salon\n                    <\/span>\n                <\/div>\n                <!-- Add other menu items here -->\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n\n\n<div class=\"form-wrapper\">\n    <div class=\"form-container\">\n        <div id=\"searchResults\"><\/div>\n        <div class=\"pagination\"><\/div>\n    <\/div>\n    <!-- Map Container -->\n    <div id=\"map\"><\/div>\n<\/div>\n\n<!-- Loader HTML -->\n<!-- <div id=\"loader\">Loading...<\/div> -->\n<div id=\"loader\">\n    <img class=\"lazyload\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"https:\/\/sunraycityguide.com\/Massachusetts-LeadingEdge\/wp-content\/plugins\/yelp-store-locator\/assets\/images\/loader.png\" alt=\"Loading...\" \/>\n<\/div>\n\n\n<script src=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/3.5.1\/jquery.min.js\"><\/script>\n<script>\n    $(document).ready(function () {\n        var yelpAutocompleteUrl = \"https:\/\/api.yelp.com\/v3\/autocomplete\";\n\n        $('#searchDescription').on('input', function() {\n            var searchText = $(this).val();\n        \n            \/\/ Make sure the search text is not empty\n            if (searchText.length > 0) {\n                $.ajax({\n                    url: '\/wp-content\/plugins\/yelp-store-locator\/proxy\/yelp-autocomplete-proxy.php',\n                    method: 'GET',\n                    data: {\n                        text: searchText \/\/ text entered by the user\n                    },\n                    success: function(data) {\n                        \/\/ Clear previous suggestions\n                        $('#autocomplete-results').empty();\n                        \n                        \/\/ Process the response and append suggestions\n                        if(data.terms && data.terms.length > 0) {\n                            data.terms.forEach(function(term) {\n                                $('#autocomplete-results').append('<div class=\"autocomplete-suggestion\">' + term.text + '<\/div>');\n                            });\n                            $('#autocomplete-results').show();\n                        }\n                    },\n                    error: function(jqXHR, textStatus, errorThrown) {\n                        console.error(\"Error with Autocomplete API:\", textStatus, errorThrown);\n                    }\n                });\n            } else {\n                \/\/ If the search text is empty, clear and hide suggestions\n                $('#autocomplete-results').empty().hide();\n            }\n        });\n\n        \/\/ Listener for clicking on an autocomplete suggestion\n        $('#autocomplete-results').on('click', '.autocomplete-suggestion', function() {\n            \/\/ Set the input to the clicked suggestion and hide suggestions\n            $('#searchDescription').val($(this).text());\n            $('#autocomplete-results').empty().hide();\n        });\n    \n        \/\/ Initially hide pagination and loader\n        $('.pagination').hide();\n        $('#loader').hide();\n\n        var map; \/\/ Declare map variable globally\n        var markers = []; \/\/ Array to store markers\n        var currentPage = 1;\n        var resultsPerPage = 5;\n        var totalResults = 0;\n\n        \/\/ Event handler for category selection\n        $('.dropdown-content span').on('click', function() {\n            \/\/ Get the text of the clicked category\n            var categoryText = $(this).text().trim();\n\n            \/\/ Set the value of the searchDescription input\n            $('#searchDescription').val(categoryText);\n\n            \/\/ Close the dropdown if needed\n            $('.dropdown-content').hide();\n\n            \/\/ Optionally, you could submit the form automatically after selection\n            \/\/ $('#searchForm').submit();\n        });\n\n        \/\/ Toggle dropdown content on click\n        $('.dropbtn').on('click', function() {\n            \/\/ Use slideToggle for a simple animation\n            $('.dropdown-content').slideToggle();\n        });\n\n        \/\/ Close the dropdown if clicked outside\n        $(document).on('click', function(e) {\n            if (!$(e.target).closest('.dropdown').length) {\n                $('.dropdown-content').hide();\n            }\n        });\n\n        \/\/ Populate search description initially\n        $('#searchDescription').val($('#category').find('option:selected').text());\n\n        \/\/ Update search description when category changes\n        $('#category').change(function() {\n            $('#searchDescription').val($(this).find('option:selected').text());\n        });\n\n        \/\/ Check if the location is provided and trigger search\n        if ($('#locationQuery').val() !== '') {\n            setTimeout(function() {\n                $('#searchForm').submit();\n            }, 500);\n        }\n\n        $('#searchForm').submit(function (event) {\n            event.preventDefault();\n            $('#loader').show(); \/\/ Show loader here when the search starts\n            $('.pagination').hide(); \/\/ Hide pagination during loading\n\n            var locationQuery = $('#locationQuery').val();\n            \/\/ Use the value from the search description input\n            var searchDescription = $('#searchDescription').val();\n            var apiUrl = 'https:\/\/sunraycityguide.com\/Massachusetts-LeadingEdge\/wp-content\/plugins\/yelp-store-locator\/proxy\/proxy.php?location=' + encodeURIComponent(locationQuery) + '&term=' + encodeURIComponent(searchDescription);\n\n            \/\/ Hide search results and map\n            $('#searchResults').hide();\n            $('#map').hide();\n            \/\/ Show loader before making the API request\n            $('#loader').show();\n\n            fetch(apiUrl)\n            .then(response => {\n                if (!response.ok) {\n                    throw new Error('Network response was not ok');\n                }\n                return response.json(); \/\/ Parse JSON response\n            })\n            .then(data => {\n                if (data && data.businesses && data.businesses.length > 0) {\n                    $('.pagination').show();\n                } else {\n                    $('.pagination').hide();\n                }\n                $('#loader').hide(); \/\/ Hide loader after data is processed\n                \/\/ ...Display results...\n                totalResults = data.businesses.length;\n\n                \/\/ Clear previous search results\n                $('#searchResults').empty();\n\n                \/\/ Initialize map\n                map = new google.maps.Map(document.getElementById('map'), {\n                    center: { lat: 0, lng: 0 }, \/\/ Default center\n                    zoom: 12 \/\/ Default zoom level\n                });\n\n                \/\/ Clear previous markers\n                markers.forEach(marker => marker.setMap(null));\n                markers = [];\n\n                \/\/ Create a LatLngBounds object to encompass all markers\n                var bounds = new google.maps.LatLngBounds();\n\n                \/\/ Calculate pagination values\n                var startIndex = (currentPage - 1) * resultsPerPage;\n                var endIndex = startIndex + resultsPerPage;\n                endIndex = endIndex > totalResults ? totalResults : endIndex;\n\n                \/\/ Iterate over each business in the response data for the current page\n                for (var i = startIndex; i < endIndex; i++) {\n                    var business = data.businesses[i];\n\n                    \/\/ Create card element to display business information\n                    var cardHtml = '<div class=\"card\">';\n                    cardHtml += '<img class=\"lazyload\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-orig-src=\"' + business.image_url + '\" alt=\"' + business.name + '\">';\n                    cardHtml += '<div class=\"card-content\">';\n                    cardHtml += '<h3><a href=\"' + business.url + '\">' + business.name + '<\/a><\/h3>';\n                    cardHtml += '<p><strong>Rating:<\/strong> ' + business.rating + '<\/p>';\n                    cardHtml += '<p><strong>Review Count:<\/strong> ' + business.review_count + '<\/p>';\n                    if (business.categories.length > 0) {\n                        cardHtml += '<p><strong>Category:<\/strong> ' + business.categories[0].title + '<\/p>';\n                    }\n                    cardHtml += '<p><strong>Address:<\/strong> ' + business.location.address1 + ', ' + business.location.city + ', ' + business.location.state + ' ' + business.location.zip_code + '<\/p>';\n                    cardHtml += '<p><strong>Phone:<\/strong> ' + business.display_phone + '<\/p>';\n                    cardHtml += '<\/div><\/div>';\n\n                    \/\/ Append the card HTML to the searchResults div\n                    $('#searchResults').append(cardHtml);\n\n                    \/\/ Display coordinates if available\n                    if (business.coordinates) {\n                        \/\/ Add marker to the map for each business\n                        var marker = new google.maps.Marker({\n                            position: { lat: business.coordinates.latitude, lng: business.coordinates.longitude },\n                            map: map,\n                            title: business.name\n                        });\n\n                        markers.push(marker);\n\n                        \/\/ Extend the bounds to include the marker's position\n                        bounds.extend(marker.getPosition());\n                    }\n                }\n\n                \/\/ Adjust map bounds to fit all markers\n                map.fitBounds(bounds);\n\n                \/\/ Hide loader after request is completed\n                $('#loader').hide();\n                \/\/ Show search results and map\n                $('#searchResults').show();\n                $('#map').show();\n\n                \/\/ Generate pagination controls\n                generatePaginationControls();\n            })\n            .catch(error => {\n                console.error('There was a problem with the fetch operation:', error);\n\n                $('#loader').hide(); \/\/ Ensure to hide loader on error as well\n                $('.pagination').hide(); \/\/ Hide pagination if there's an error\n                \/\/ Show search results and map\n                $('#searchResults').show();\n                $('#map').show();\n            });\n        });\n\n        \/\/ Function to generate pagination controls\n        function generatePaginationControls() {\n            var totalPages = Math.ceil(totalResults \/ resultsPerPage);\n            $('.pagination').empty();\n\n            for (var i = 1; i <= totalPages; i++) {\n                var button = $('<button>').text(i);\n                if (i === currentPage) {\n                    button.addClass('active');\n                }\n                button.click(function() {\n                    currentPage = parseInt($(this).text());\n                    $('#searchForm').submit();\n                });\n                $('.pagination').append(button);\n            }\n        }\n    });\n<\/script>\n\n<!-- Include Google Maps JavaScript API with your API key -->\n<script async defer src=\"https:\/\/maps.googleapis.com\/maps\/api\/js?key=AIzaSyDdc1Kke8as6XyfJRAv1veZfIqxp-ioDMo&callback=initMap\"><\/script>\n\n<\/body>\n<\/html>\n<\/div><\/div><\/div><\/div><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":2908,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"portfolio_category":[35],"portfolio_skills":[],"portfolio_tags":[],"class_list":["post-2690","avada_portfolio","type-avada_portfolio","status-publish","format-standard","has-post-thumbnail","hentry","portfolio_category-city-of-phoenix"],"_links":{"self":[{"href":"https:\/\/sunraycityguide.com\/Massachusetts-LeadingEdge\/wp-json\/wp\/v2\/avada_portfolio\/2690","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sunraycityguide.com\/Massachusetts-LeadingEdge\/wp-json\/wp\/v2\/avada_portfolio"}],"about":[{"href":"https:\/\/sunraycityguide.com\/Massachusetts-LeadingEdge\/wp-json\/wp\/v2\/types\/avada_portfolio"}],"author":[{"embeddable":true,"href":"https:\/\/sunraycityguide.com\/Massachusetts-LeadingEdge\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sunraycityguide.com\/Massachusetts-LeadingEdge\/wp-json\/wp\/v2\/comments?post=2690"}],"version-history":[{"count":7,"href":"https:\/\/sunraycityguide.com\/Massachusetts-LeadingEdge\/wp-json\/wp\/v2\/avada_portfolio\/2690\/revisions"}],"predecessor-version":[{"id":2909,"href":"https:\/\/sunraycityguide.com\/Massachusetts-LeadingEdge\/wp-json\/wp\/v2\/avada_portfolio\/2690\/revisions\/2909"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sunraycityguide.com\/Massachusetts-LeadingEdge\/wp-json\/wp\/v2\/media\/2908"}],"wp:attachment":[{"href":"https:\/\/sunraycityguide.com\/Massachusetts-LeadingEdge\/wp-json\/wp\/v2\/media?parent=2690"}],"wp:term":[{"taxonomy":"portfolio_category","embeddable":true,"href":"https:\/\/sunraycityguide.com\/Massachusetts-LeadingEdge\/wp-json\/wp\/v2\/portfolio_category?post=2690"},{"taxonomy":"portfolio_skills","embeddable":true,"href":"https:\/\/sunraycityguide.com\/Massachusetts-LeadingEdge\/wp-json\/wp\/v2\/portfolio_skills?post=2690"},{"taxonomy":"portfolio_tags","embeddable":true,"href":"https:\/\/sunraycityguide.com\/Massachusetts-LeadingEdge\/wp-json\/wp\/v2\/portfolio_tags?post=2690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}