Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Pano

By: a guest on Jan 31st, 2011  |  syntax: HTML  |  size: 0.90 KB  |  views: 544  |  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 http-equiv="content-type" content="text/html; charset=utf-8"/>
  5. <title>Street View</title>
  6. <style>
  7.  body {
  8.    margin: 0;
  9.  }
  10. </style>
  11. <script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>
  12. <script type="text/javascript">
  13.   var map;
  14.   var panorama;
  15.  
  16.   function initialize() {
  17.     var panoramaOptions = {
  18.       position:new google.maps.LatLng(-33.947116,151.255903),
  19.       pov: {
  20.         heading: 270,
  21.         pitch:0,
  22.         zoom:1
  23.       },
  24.       visible:true,
  25.           enableCloseButton: false,
  26.           disableDoubleClickZoom: true,
  27.           zoomControl: false
  28.    };
  29.  
  30.    var panorama = new google.maps.StreetViewPanorama(document.getElementById("pano"), panoramaOptions);
  31.  }
  32. </script>
  33. </head>
  34. <body onload="initialize()">
  35. <div id="pano" style="width: 1024px; height: 768px;">Loading ....</div>
  36. </body>
  37. </html>