Google Streetview API - Get Panorama JPG - google-maps-api-3

Is there a way for me to get a complete 360 panorama image (such as a jpg) from a location in Streetview? Basically, I want to do custom presentation of the image and want to download the whole thing at once rather than using the Streetview window and it's controls.
There is a section in the Google Documentation for Panoramas but they don't explain how to get a streetview 360 image. Instead, they use the streetview window, which I don't want to do.
EDIT
I should clarify that I'm not trying to build my own streetviewer. I just want the entire image so that I can present it to the user.

When you're in street-view of google maps with your desired zoom open Developer Tools (chrome: ctrl + shift + I).
Under resources open frames -> data -> images. Scroll down to cbk.
There will probably be a lot of them. Find one that is a single tile of your current location. Right click and open in a new tab.
In the address bar find the part that says output=tile&x=1&y=2&zoom=4 or whatever values they may be.
x=_&y=_ is the name of the tile. To get all the tiles you'll need to go through every variation of x and y and reload the page and save the image each time.
At zoom=3, x goes from 0 to 6 and y goes from 0 to 3 for a total of 28 tiles.
At zoom=4, x goes from 0 to 12 and y goes from 0 to 6 for a total of 91 tiles.

If you need a static image, check the Google Street View Image API, you can get panos with a field of view (fov) up to 120 deg. However, it seems to me you jus to create your own Street View viewer re-using Google's images... which is against the Terms of Use.

Related

Flat video using google vr view

Is there any way of making a flat view from a 360 video using Google's VR view player? I would like to see the full image without having to move.
If you mean that you would like to see the full 'fisheye' view (Equirectangular projection), then if the video is a MP4 or being streamed as an mp4 most regular players will play it like that if you turn off the 360 view. The same is usually the case if the player does not support 360 view also - i.e. it will just display the flat fisheye view.

Youtube embed display at one time start at beginning

I am trying to embed a youtube video in my wordpress site and I would like to start it at the beginning but display it at another point for visuals, is this possible? I have looked online and in the youtube api with no luck..hoping Im missing it.
Thanks for any help.
You can always embed the visual and then allow the video to play with the click through from the beginning. You can get the visual to be a pretty high dpi as well so the quality remains in tact.
Youtube only generates a few snapshots (around 1-3 snap images), there is no specific way to get an image at X point of time. It will be either a few seconds from the start, the middle and 1 other spot.
If you need to get the other format of the thumbnails, perhaps this can help
Google Json String Query for Video

How to set default (angle) to map, default value to rotateControl?

At a wordpress directory site, dubainurseries.com, I have the google map and my markers on it.
I want to load map 30-40 degree rotated into the page by default while it is on street view. Is there a way to do it? This is really necessary to use the screen more efficient to show more markers in a higher zoom.

ASP.NET - Imageview just like in Google Picture Search Results

Imagine, that u have 10 Imagelinks (Example of such a Link: CLICK
What I want, is showing the 10 Pictures, googlelike (clickable) on my ASP.NET Website.
What would be, the best way to achieve this?
Do I should use a Table? But what if the Image is bigger than the Rowsize and how I could do the Clickevent on it?.. and so on..
I would use a table if you want to keep the same number of images on each row. Otherwise, you could just display the images inline and allow them to word wrap naturally.
As far as large images, Google resizes the images so they fit. If you don't do that, then you could definitely have formatting problems.
Finally, you make them clickable the same way you make any image clickable: through an anchor tab, or using some type of client-side scripting. When you create the markup, you will need whatever data is required to make each image clickable in a meaningful way.

Masking the Google Map in iOS

In my app I have displayed some custom overlay on google map using MKOverlay with the help of TileMap sample code. My requirement is, I need to mask the entire google map underneath the overlay.That is, I want rest of the map area to appear to be in gray except my custom overlay.
Could anyone give me direction on how to achieve this?
Thanks in advance,
I don't know all the calls that you'd need to cover but I know how to find out. In the TileMap example code provided by Apple they show how the MKMapView will call for tiles. All you'd need to do is swap out the code that finds files on disk and swap in some code that always returns a grey square every time.
However this won't remove the Google logo or stop the app from downloading the map tiles from Google in the background. If you find out how to stop that please let me know.

Resources