McBrideMusings
McBrideMusings

Reputation: 29

Can I embed Google Street View into AFrame?

I'd like to recreate the Geoguesser street view game in VR. Although I understand the game is more complex than simply viewing Google Street View, I want to understand whether any work on the matter exists now. Even simply embedding Google Street View in VR would be helpful, even if it's not a solution in AFrame.

Has anyone tried this before? Or can anyone speak to embedding Google Street View in VR?

Upvotes: 2

Views: 2306

Answers (1)

Kieran F.
Kieran F.

Reputation: 555

It looks like you need to get the Street View panorama image in its full equirectangular glory so that you could then render it in A-Frame or your WebVR framework of choice.

There are a few methods to extract Street View panoramas in this answer: How to get the original panorama image by panoid in google street view?

This seemed to be the best option based on an A-Frame Slack chat: https://github.com/mattdesl/google-panorama-equirectangular

Here's a recent WebVR project that, while not exactly the same, appears to make use of some of the same tech: https://speaktogo.withgoogle.com/#

Upvotes: 1

Related Questions