Copyright Google 2020
Random |
This experiment is an update to earlier ones (Street Cloud Interactive and Street Cloud Flow) after they stopped working because of extensive changes to the Google Maps Street View API. Sadly, it's all a bit of a lost cause since Google now insists on an paid API key for any map related features (the reason there isn't a map in this version) - it was still fun making this but I imagine it will be the last version. Use the mouse + left button to look around, mouse + right button to move and the mouse wheel to zoom in and out.
There are still a few things that aren't quite right - not having an official API means you have to guess a lot. Details are in the code but the most prominent one is the rotation of the heading arrow targets that move to the next pano. It's incorrect in a number of places and after having tried a number of different things, I am declaring defeat - let me know if you have figured it out already. You can explore different locations by entering the lat/long as part of the URL, clicking on the Random / My location buttons or clicking on the arrows in each scene to move. You can also try dragging a Google Maps Street View URL from a different browser onto the main window - this doesn't always work since the regex to extract the location from isn't perfect. Finally, you can click on the Street View button to open the "real" Street View. I considered adding a selection map from a different provider like Leaflet but I don't think that's allowed by Google's terms of service.
You can hide this panel by clicking the gear icon top right or by appending I am very grateful to the authors who generously shared their code here and here and made it far easier for me to make this. Comments, feedback and of course fixes for my doubtless many mistakes are very welcome - contact details are here |
My location | |
Street View |