Skip to content

Commit 3337208

Browse files
authored
Merge branch 'master' into dependabot/npm_and_yarn/octokit/request-error-5.1.1
2 parents de0932b + d1ab7b1 commit 3337208

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/utils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,8 @@ export const generateMapUrl = ({
299299
url += sourceLatLng ? `&origin=${sourceLatLng}` : '';
300300
if (!googleForceLatLon && title) {
301301
url += `&destination=${encodedTitle}`;
302+
} else if (!googleForceLatLon && address) {
303+
url += `&destination=${address}`;
302304
} else {
303305
url += `&destination=${latlng}`;
304306
}

0 commit comments

Comments
 (0)