DEV Community

Cover image for How to embed Google Map without API Key?
Hardique Dasore
Hardique Dasore

Posted on

How to embed Google Map without API Key?

Make your website more interactive by embedding Google Map for the location of your business. To embed Google maps to your webpage, one doesn't need an API key.

To embed a Google Map in your webpage, you can follow these steps:

1) Go to Google and search the location you want to embed in your web page

Image description

2) Maximize the location details in Google page

Image description

3) Click on the share icon in the location details card

Image description

4) Select the "Embed a map" tab in the dialog box

Image description

5) Copy HTML for the code (iframe) to be added to your webpage

Image description

Happy Coding!

Top comments (1)

Collapse
 
nurlan_tl profile image
Nurlan TL

Cool article. I don't like to get API key and your hint is very helpful.