code: function(map, panoId) {
      var svp = new google.maps.StreetViewPanorama(
        map.getDiv(), {enableCloseButton: true}
      );
      svp.setPano(panoId);
    }
docs: Set panorama view on the given map with the panorama id
  @memberof StreetView
  @param {map} map Google map instance
  @param {String} panoId Panorama id fro getPanorama method
  @example
  StreetView.setPanorama(map, panoId);