DEV Community

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

Posted on

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! ā¤ļø

Top comments (0)