filmov
tv
How to embed google map on a website page
![preview_player](https://i.ytimg.com/vi/Pi1_BFQcClQ/maxresdefault.jpg)
Показать описание
In this video tutorial, I will show you how to embed google map on a website page.
We will find a suitable map on google maps and then use the source code editor on the website to paste the code for embedding map.
I will also show you how to change the width and height of the map.
Other Google Maps Tutorials:
#GoogleMaps #dcpweb #tutorials
*******************************************************************************************************
*******************************************************************************************************
Contact me on:
Hi and welcome to this DCP web tutorial.
In this tutorial, I'm going to show you how to embed a Google map onto your website page.
So, let's go ahead and open up the web browser (Google Chrome) and we'll go to Google Maps. Just type in Google Maps into your search engine and click on Google Maps website page.
We want to search for some things, I'm going to search for my company which is DCP Web Designers.
Click the share button and then click on the embed tab. Now copy the embed code by pressing “Copy HTML” link.
On the contact page, I want to place a map between the form and the content above.
Login into your website admin control panel. Whether you're using WordPress or using the custom website content management system like I'm using doesn't really matter, the goal is to embed the map.
In the admin control panel, I will edit my contact page.
A good idea is to add a text place holder for where you want to display your map. When you check the source code it will be easier to find the location in code.
In this tutorial, I will use the place holder text “add map”.
Now when I go to the source code, you can see it is easy to find the place holder.
WordPress and other website content management system will also have an option to view source code.
In the source code select the place holder text, then paste the Google Map embed code (Windows CTRL+V) or (Apple Mac CMD+V). You can also right-click and select paste.
The next step is to save your content, in this example, I will select the save button, for WordPress you can either select “preview” or “publish”.
Now if we go back to the contact page and refresh, we'll see the Google Map.
The map is not the right size, it would look better if the map filled the full width of the page. To make the map wider we need to edit the “width” attribute of the Google Map embed code.
Go back to your admin control panel and edit the page which contains the map. View the source code and change the width attribute, in this example I will change the width to value = 1110
I will also adjust the height of the map by editing the Google Map embed code height attribute, I will set the value to = 400
I have highlighted the attributes which require editing.
width="1110" height="400"
The Map now fits nicely with the form below and the content above.
So that's simply how you go about adding a Google map to your website page, it doesn't matter if you are using Joomla or WordPress or any sort of content management system if it's a good one you should be able to go into the admin area and edit the source code for a page.
how to embed google maps in website, add google map location in html, embed google map in website, google maps (website), create a google map in a website, google map embed code, how to embed google map in html using iframe, embed google map in html, google map, add google map to website, embed google map, embed google maps into website, how to add google maps to your website
We will find a suitable map on google maps and then use the source code editor on the website to paste the code for embedding map.
I will also show you how to change the width and height of the map.
Other Google Maps Tutorials:
#GoogleMaps #dcpweb #tutorials
*******************************************************************************************************
*******************************************************************************************************
Contact me on:
Hi and welcome to this DCP web tutorial.
In this tutorial, I'm going to show you how to embed a Google map onto your website page.
So, let's go ahead and open up the web browser (Google Chrome) and we'll go to Google Maps. Just type in Google Maps into your search engine and click on Google Maps website page.
We want to search for some things, I'm going to search for my company which is DCP Web Designers.
Click the share button and then click on the embed tab. Now copy the embed code by pressing “Copy HTML” link.
On the contact page, I want to place a map between the form and the content above.
Login into your website admin control panel. Whether you're using WordPress or using the custom website content management system like I'm using doesn't really matter, the goal is to embed the map.
In the admin control panel, I will edit my contact page.
A good idea is to add a text place holder for where you want to display your map. When you check the source code it will be easier to find the location in code.
In this tutorial, I will use the place holder text “add map”.
Now when I go to the source code, you can see it is easy to find the place holder.
WordPress and other website content management system will also have an option to view source code.
In the source code select the place holder text, then paste the Google Map embed code (Windows CTRL+V) or (Apple Mac CMD+V). You can also right-click and select paste.
The next step is to save your content, in this example, I will select the save button, for WordPress you can either select “preview” or “publish”.
Now if we go back to the contact page and refresh, we'll see the Google Map.
The map is not the right size, it would look better if the map filled the full width of the page. To make the map wider we need to edit the “width” attribute of the Google Map embed code.
Go back to your admin control panel and edit the page which contains the map. View the source code and change the width attribute, in this example I will change the width to value = 1110
I will also adjust the height of the map by editing the Google Map embed code height attribute, I will set the value to = 400
I have highlighted the attributes which require editing.
width="1110" height="400"
The Map now fits nicely with the form below and the content above.
So that's simply how you go about adding a Google map to your website page, it doesn't matter if you are using Joomla or WordPress or any sort of content management system if it's a good one you should be able to go into the admin area and edit the source code for a page.
how to embed google maps in website, add google map location in html, embed google map in website, google maps (website), create a google map in a website, google map embed code, how to embed google map in html using iframe, embed google map in html, google map, add google map to website, embed google map, embed google maps into website, how to add google maps to your website
Комментарии