• We just launched and are currently in beta. Join us as we build and grow the community.

How to Embed Google Maps to your Website

JxB1990

Yield Optimizer
J Rep
0
0
0
Rep
0
J Vouches
0
0
0
Vouches
0
Posts
88
Likes
73
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 200 XP
Embedding a Google Maps onto a website may look difficult to achieve well, I’m going to teach you the simplest way on how to do it and even a beginner can easily do it. In this tutorial you will learn how to embed Google maps onto your website. This is ideal if you have an online business with a website, in this way it will be easier for your customers to locate you. All you have to do is follow the instruction below.

Creating HTML

  1. <

    html>
  2. <

    title>

    Embed Google Map</

    title>
  3. <

    header>
  4. <

    h1>

    Embed Google Map</

    h1>
  5. </

    header>
  6. <

    body>
  7. </

    body>
  8. </

    html>

Embedding Google Map

Step 1

Go to https://www.embedgooglemap.net/.
2019-01-04_1.png

Step 2

Search the target place you want to display.
2019-01-04_2.png

Step 3

Click “Get HTML Code” button.
2019-01-04_6.png

Step 4

Copy the code and paste it in the index page that you have created.
2019-01-04_4.png

Full Source code

  1. <

    html>
  2. <

    title>

    Embed Google Map</

    title>
  3. <

    header>
  4. <

    h1>

    Embed Google Map</

    h1>
  5. </

    header>
  6. <

    body>
  7. <

    div class

    =

    "mapouter"

    ><

    div class

    =

    "gmap_canvas"

    ><

    iframe width=

    "600"

    height=

    "500"

    id=

    "gmap_canvas"

    src=

    "https://maps.google.com/maps?q=bacolod c

    ity%20plaza&t=&z=17&ie=UTF8&iwloc=&output=embed"

    frameborder=

    "0"

    scrolling=

    "no"

    marginheight=

    "0"

    marginwidth=

    "0"

    ></

    iframe><

    a href=

    "https://www.crocothemes.net"

    >

    crocothemes.

    net</

    a></

    div><

    style>.

    mapouter{

    text-

    align:

    right;

    height:

    500px;

    width:

    600px;

    }

    .

    gmap_canvas {

    overflow:

    hidden;

    background:

    none!

    important;

    height:

    500px;

    width:

    600px;

    }

    </

    style></

    div>
  8. </

    body>
  9. </

    html>

For any questions about this article. You can contact me @
Email – [email protected]
Mobile No. – 09305235027 – TNT
Or feel free to comment below.

 

452,496

335,256

335,264

Top