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.
1 parent 751c5ff commit 03b9ff7Copy full SHA for 03b9ff7
src/utils.ts
@@ -291,6 +291,8 @@ export const generateMapUrl = ({
291
url += sourceLatLng ? `&origin=${sourceLatLng}` : '';
292
if (!googleForceLatLon && title) {
293
url += `&destination=${encodedTitle}`;
294
+ } else if (!googleForceLatLon && address) {
295
+ url += `&destination=${address}`;
296
} else {
297
url += `&destination=${latlng}`;
298
}
0 commit comments