DEV Community

Cover image for The simple and useful trick for Google Maps!
Edvinas Pranka
Edvinas Pranka

Posted on

3

The simple and useful trick for Google Maps!

Hi developers! 😍

Recently I found one simple but very useful trick in the Google maps. I hope it will be useful for you too. 😉

You can add the google maps direction link without using any Google API. Just putting the simple URL. And this method is completely free. 🎉

https://google.com/maps?daddr=<put your destination>

For example this is a direction to the New York City

In HTML it looks like this:

<a href="https://www.google.com/maps?daddr=new york city">
    Direction to the New York City
</a>
Enter fullscreen mode Exit fullscreen mode

Are you know the other interesting tricks for Google Maps? Share it in the comments below. 👇

Follow on Twitter
Check my GitHub
Let's connected on LinkedIn

Feedback and questions are very appreciated! ❤️

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay