Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 25th, 2012  |  syntax: HTML 5  |  size: 0.84 KB  |  hits: 34  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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>