Advertisement
Guest User

Pano

a guest
Jan 31st, 2011
640
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.90 KB | None | 0 0
  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>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement