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 e39a0a1 + f2314c5 commit 51f4001Copy full SHA for 51f4001
src/utils.ts
@@ -305,7 +305,7 @@ export const generateMapUrl = ({
305
url += googleDirectionMode ? `&travelmode=${googleDirectionMode}` : '';
306
} else {
307
if (address) {
308
- url = `https://www.google.com/maps/search/?q=${address}`;
+ url = `https://www.google.com/maps/search/?api=1&query=${address}`;
309
310
// Use "search" as this will open up a single marker
311
url = 'https://www.google.com/maps/search/?api=1';
0 commit comments