diff --git a/src/components/StoreWatchPage.js b/src/components/StoreWatchPage.js index 7648647..ad76b68 100644 --- a/src/components/StoreWatchPage.js +++ b/src/components/StoreWatchPage.js @@ -495,7 +495,8 @@ const StoreWatchPage = ({ return null; } const origin = encodeURIComponent(`${userLocation.lat},${userLocation.lon}`); - const destination = encodeURIComponent(`${storeLat},${storeLon}`); + const storeLabel = row.original.name || row.original.city || `Store ${row.original.id}`; + const destination = encodeURIComponent(`${storeLabel}@${storeLat},${storeLon}`); const mapsUrl = `https://www.google.com/maps/dir/?api=1&origin=${origin}&destination=${destination}&travelmode=driving`; return (