Skip to content

Commit

Permalink
fix: correct Google Maps url
Browse files Browse the repository at this point in the history
  • Loading branch information
SchutteJan committed Jul 24, 2024
1 parent adb8e85 commit 1b99f0d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions frontend/src/lib/BarItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@
<i>No description available.</i>
{/if}
</p>
<a target="_blank" href="https://www.google.com/maps/place/?q=place_id:{bar.google_place_id}"
>Open in Maps 🡵</a
<a
target="_blank"
href="https://www.google.com/maps/search/?api=1&query={encodeURIComponent(
bar.address_line
)}&query_place_id={bar.google_place_id}">Open in Maps 🡵</a
>
</details>
</article>
Expand Down

0 comments on commit 1b99f0d

Please sign in to comment.