Thanks for the reply. I figured as much. Understandable, although still a shame you can't retreive further context from scene analysis. I will have to stick to overlays that are less tied to scence context.
Thanks again On Sep 15, 8:30 pm, Tom <[email protected]> wrote: > I do not think this is possible. When supplying your own > StreetViewTileData, street view can use it, but when you request a > StreetViewTileData object, it lacks the getTileUrl method. Google > might not want you to extract their delicious street view images. > > On Aug 4, 10:34 pm, mojoeschmoe <[email protected]> wrote: > > > Hi All, > > > I was unable to find something to answer my question in the API > > resources, this group or googling in general, so firstly apologises if > > the resource does infact exist and I failed to find it. > > > The documentation shows how to add a getTileUrl to the > > StreetViewPanoramaData object which will then be called to retreive > > the images for a custom streetviewpanorama. > > > What I wanted to be able to create a custom streetviewpanorama on the > > fly based on an existing default streetviewpanorama. I know I can add > > overlays to an existing panorama, but I wanted to be able to analyse > > the scene on the fly to tailor how I would change scene in the custom > > streetviewpanorama. > > > My question is how do I get the urls/images for a given street view > > panorama, or indeed is this something the API currently supports? > > > My naive attempt looked something like this > > > <code> > > > var berkeley = new google.maps.LatLng(37.869085,-122.254775); > > var sv = new google.maps.StreetViewService(); > > > var panorama; > > > function initialize() { > > > sv.getPanoramaByLocation(berkeley, 500, processSVData); > > } > > > function processSVData(data, status) { > > if (status == google.maps.StreetViewStatus.OK) { > > // print out the url for the tile (0,0) for the given > > panorama, with 0 zoom > > > document.write(data.tiles.getTileUrl(data.location.pano,0.0,0,0)); > > > } else { > > alert("Street View data not found for this location."); > > } > > } > > > </code> > > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
