We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents de0932b + d1ab7b1 commit 3337208Copy full SHA for 3337208
src/utils.ts
@@ -299,6 +299,8 @@ export const generateMapUrl = ({
299
url += sourceLatLng ? `&origin=${sourceLatLng}` : '';
300
if (!googleForceLatLon && title) {
301
url += `&destination=${encodedTitle}`;
302
+ } else if (!googleForceLatLon && address) {
303
+ url += `&destination=${address}`;
304
} else {
305
url += `&destination=${latlng}`;
306
}
0 commit comments