I want to use custom panorama position, but I need a panorama id for it. Can someone explain me how to get the panorama id from the next link:
https://www.google.nl/maps/@52.239981,6.851849,3a,90y,324.71h,64.65t/data=!3m5!1e1!3m3!1sFEpIJhSgOzoAAAQJOQCL3w!2e0!3e11
Thank you!
Download equirectangular panorama from Street View directly from the Google Maps page. Just go to maps.google.com, find a street view that you want to download and click the extension button. You can choose the quality from 1 (very low) to 5 (very high - might not be available for some locations).
Click the "Save" icon, type in a name, select a file format, such as . bmp or . jpg, and click "Save" to save your Google Street View picture.
Go to the Google Maps Platform > Credentials page. On the Credentials page, click Create credentials > API key. The API key created dialog displays your newly created API key. Click Close.
Google changed the format of the pano IDs with their updates in Aug/Sept. Similar to before the pano ID can be found between the !1s and !2e. So in the example posted by Jason the pano ID would be (urldecoded):
F:-gVtvWrACv2k/Vnh0Vg8Z8YI/AAAAAAABLWA/a-AT4Wb8MD8
In order to get it to work for us we had to prepend the F: in front of it. There is also a known bug which requires the addition of an undocumented flag to use newer panos (see https://code.google.com/p/gmaps-api-issues/issues/detail?id=7452#c51):
google.maps.streetViewViewer = 'photosphere';
"F:".concat(window.location.href.split("!1s")[1].split("!2e")[0]).replace('%2F','/')
Thanks @Rgrauphics
This does not work for photos added to Google Maps after the Sept 3rd 2015 update.
https://www.google.com/maps/@28.4184117,-80.6076033,3a,75y,349h,88t/data=!3m8!1e1!3m6!1s-gVtvWrACv2k%2FVnh0Vg8Z8YI%2FAAAAAAABLWA%2Fa-AT4Wb8MD8!2e4!3e11!6s%2F%2Flh4.googleusercontent.com%2F-gVtvWrACv2k%2FVnh0Vg8Z8YI%2FAAAAAAABLWA%2Fa-AT4Wb8MD8%2Fw203-h101-n-k-no%2F!7i11000!8i5500
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