How to display your address on Google maps?

Procedure to setup your bussiness, office, house and shop address on Google map

Adding a Google Map to your web page is very easy, once you've been shown how! That's what I am going to do in this lesson - I will go over each step of creating a basic Google Map using the JavaScript API.

Vikinspire Developers Pvt. Ltd, Bawli Chowk, Padrauna, Kushinagar, Uttar Pradesh, 274304 Address Vikinspire Developers Pvt. Ltd, Bawli Chowk, Padrauna, Kushinagar, Uttar Pradesh, 274304

None of this is specific to Google Maps - it's the basis for any HTML page. Open your text editor and add this code, then save the file to your desktop as google-maps.html (or any other filename that ends with .html).
Your Google Map requires a page element in which to appear; add a div tag to the body with an id attribute of map-canvas. This creates a container that we'll reference later in the lesson.

  • Creates a div, and gives it a size.
  • Loads the Google Maps JavaScript API v3.
  • Creates and displays a Google Map in the div.
<!DOCTYPE html>
#map-canvas {
width: 500px;
height: 400px;

<script src=""></script>
function initialize() {
var mapCanvas = document.getElementById('map-canvas');
var mapOptions = {
: new google.maps.LatLng(26.909126,83.964749),
: 8,
: google.maps.MapTypeId.ROADMAP
var map = new google.maps.Map(mapCanvas, mapOptions)
.maps.event.addDomListener(window, 'load', initialize);
<div id="map-canvas"></div>
Replace the yellow marked size and  Lat-Lng co-ordinates with your Lat-Lng address co-ordinates. I recommend reading the Customizing Google Maps class next. For inspiration, check out some of the applications at

Please note before commenting on this page.
1. Don't comment as for advertisement purpose.
2. Don't hyperlink your website inside comment box.
3. Abuses are strictly prohibited.
4. If necessary, you can post the only URL without any text hyperlink.

Click to comment