title: Google Maps Api V3 - StreetView enableCloseButton
body: <p>in the current Version of Google Maps Api v3 (using latest 3.x) the option "enableCloseButton" for StreetView has no effect, the close button remains hidden as by default, while others like "fullscreenControl", "linksControl" etc. work as expected.</p>
  
  <p>The corresponding documentation is here: <a href="https://developers.google.com/maps/documentation/javascript/examples/streetview-controls?hl=en" rel="nofollow noreferrer">https://developers.google.com/maps/documentation/javascript/examples/streetview-controls?hl=en</a></p>
  
  <p>It can be tested with the JSFiddle provided on the same page.</p>
  
  <p>Slightly changed code:</p>
  
  <pre><code>  function initPano() {
      // Note: constructed panorama objects have visible: true
      // set by default.
      var panorama = new google.maps.StreetViewPanorama(
          document.getElementById('map'), {
            position: {lat: 42.345573, lng: -71.098326},
            addressControlOptions: {
              position: google.maps.ControlPosition.BOTTOM_CENTER
            },
            linksControl: false,
            panControl: false,
            fullscreenControl: false,
            enableCloseButton: true
      });
    }
  </code></pre>
  
  <p><a href="https://jsfiddle.net/f0490gnp/" rel="nofollow noreferrer">https://jsfiddle.net/f0490gnp/</a></p>
  
  <p>Setting "enableCloseButton" to "true" in the example has no effect, the "x" is not showing in the upper right corner. 
  Is this a known bug, is there any workaround for this, or am I missing something? Currently when dragging the 'pegman' onto the map it is not possible to switch back to map view.</p>
  
  <p>Thanks for any hint.</p>
  
  <p>(Update: fixed jsfiddle link)</p>