Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
  <head>
    <style type="text/css">
      html, body { height: 300px; margin: 0; padding: 0; }
      #map { height: 300px;width: 300px; }
    </style>
  </head>
  <body>
    <div id="map"></div>
    <script type="text/javascript">
 
function initMap() {
  var myLatLng = {lat: 22.6051389, lng: 120.3007124};
  var map = new google.maps.Map(document.getElementById('map'), {
    zoom: 14,
    center: myLatLng
  });
   var panorama = new google.maps.StreetViewPanorama(
      document.getElementById('map'), {
        position: myLatLng,
        pov: {
          heading: 180,
          pitch: 30
        }
      });
  map.setStreetView(panorama);
}
    </script>
    <script async defer
      src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDy7niYo3hKVoLoxDPCbZqRZWG_x7jml4k&callback=initMap">
    </script>
  </body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers