diff --git a/web/components/ScraperTest.tsx b/web/components/ScraperTest.tsx index e422063..0b40ed6 100644 --- a/web/components/ScraperTest.tsx +++ b/web/components/ScraperTest.tsx @@ -423,6 +423,11 @@ export default function ScraperTest({ onJobsChange, onSelectReviews }: ScraperTe } }; + // Google Maps embed URL for iframe preview + const embedUrl = searchedQuery + ? `https://maps.google.com/maps?q=${encodeURIComponent(searchedQuery)}&output=embed&z=15` + : ''; + // Google Maps link for opening in new tab const googleMapsUrl = searchedQuery ? `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(searchedQuery)}` @@ -528,51 +533,43 @@ export default function ScraperTest({ onJobsChange, onSelectReviews }: ScraperTe {/* Map Preview Area */} -
📍 {searchedQuery}
-Click Validate to check this business on Google Maps
- - {/* Open in Google Maps button */} - - - Open in Google Maps - - -Search for a business to see location preview
+Search for a business to see the map