And notice in documentation
"Note: Only Street View panoramas generated with the StreetViewPanorama object are billed. The built-in Street View experience based on the Street View Pegman control, and the StreetViewService, are not billed. For more information, see Pricing."
I create simple HTML page with streetview, and it works correctly.
But when I use this code in Custom module, it is not work.
I think joomla add some header to server response (for security reason), and in this case streetview stop work.
Google get streetview tiles from the other server, and I think it is blocked some header options, for example "host". I think it can't be fixed, just only in case Google change way to display streetview.