Adding Google Map To Your Website

It is for static page, dynamic page, website, SEO, performance and other web development discussion
jignesh virani
Posts: 5
Joined: Fri Aug 01, 2014 7:51 am

Adding Google Map To Your Website

Postby jignesh virani » Wed Aug 13, 2014 6:02 am

Here One Example Of Adding Google Map To ypur WebSite.

Code: Select all

<!DOCTYPE html>
      #map_canvas {
        width: 500px;
        height: 400px;
    <script src=""></script>
      function initialize() {
        var map_canvas = document.getElementById('map_canvas');
        var map_options = {
          center: new google.maps.LatLng(44.5403, -78.5463),
          zoom: 8,
          mapTypeId: google.maps.MapTypeId.ROADMAP
        var map = new google.maps.Map(map_canvas, map_options)
      google.maps.event.addDomListener(window, 'load', initialize);
    <div id="map_canvas"></div>

if useful please Reply on

Return to “PHP, HTML, MYSQL and Web Hosting”

Who is online

Users browsing this forum: No registered users and 4 guests