Advertisement
Guest User

Untitled

a guest
May 25th, 2012
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.84 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.   <head>
  4.     <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
  5.     <style type="text/css">
  6.       html { height: 100% }
  7.       body { height: 100%; margin: 0; padding: 0 }
  8.       #map_canvas { height: 100% }
  9.     </style>
  10.     <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false">
  11.     </script>
  12.     <script type="text/javascript">
  13.       function initialize() {
  14.         var myOptions = {
  15.           center: new google.maps.LatLng(62.24, 25.5),
  16.           zoom: 8,
  17.           mapTypeId: google.maps.MapTypeId.ROADMAP
  18.         };
  19.         var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
  20.       }
  21.     </script>
  22.   </head>
  23.   <body onload="initialize()">
  24.     <div id="map_canvas" style="width:100%; height:100%"></div>
  25.   </body>
  26. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement