I created a Google Photo Sphere and I want to embed this on my page:
Using iframe, everything works ok:
http://fotomilo.pl/test_iframe.aspx — quality is ok.
Using JavaScript API, there are problems:
http://fotomilo.pl/test_js.html — quality is poor.
Quality issue:
It look like tiles mismatch. Look at the image and panorama rendered with JavaScript.
Resolution: ≥16 bit. Range: ≥ +/- 8G with ≥4096 LSB/g typically. Sampling rate: ≥200 Hz with <1% jitter.
The Street View Static API is charged for each request to embed a static (non-interactive) Street View panorama. Cost starts at 0.007 USD per each (7.00 USD per 1000) with a usage limit of 30,000 maximum queries per minute.
I've been looking for solution quite long and I finally found..
...undocumented option of google.maps.StreetViewPanorama class named 'mode':
For example:
...
var map = new google.maps.Map( canvasElement, mapOptions );
var panorama = map.getStreetView();
var options = { mode : 'html4' };
panorama.setOptions( options );
...
Try it.
(found at this tread)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With