Thanks for your reply! I was actually using setLocationAndPOV when it broke - I'm still using it on www.housebling.org.uk, the Christmas version of the site, and that has the exact same problem even though I haven't changed that code in 6 months.
I don't understand what could have changed to break this functionality across two sites while your site does still seem to be working. It is imperative that I have this fixed by Monday as I'm then on holiday for a week and we'll be losing donations in the meantime. On Jun 18, 6:58 pm, Andrew Leach <[email protected]> wrote: > On Jun 18, 6:01 pm, Matt Perry <[email protected]> wrote: > > > In the last couple of days our charity fundraising site has broken, I > > need to get this fixed asap. If you go > > tohttp://worldcup.housebling.org.uk/test1/?view=za47sr16 > > You can see a Street View panorama that has been set to yaw:0 when > > alerts confirm that svOpts.currentPOV.yaw = 330.3. This number is > > passed through on init as you can see below. > > > Previously we were using API version 2.140 with no issues using the > > setLocationAndPOV method - tried passing in the POV details on init > > and it still doesn't work. > > Mine is still working. I do things slightly differently, creating the > panorama and then setting its parameters: > > //SVD is a GStreetviewData object > > svdiv=document.getElementById("sv"); > svdiv.innerHTML=""; > SVP = new GStreetviewPanorama(svdiv) ; > SVP.setLocationAndPOV(SVD.location.latlng, {yaw:yaw}); > > Seehttp://www.acleach.me.uk/gmaps/streetview-infow2.htm-- enter an > address and then either click or move the marker. The yaw is set to be > perpendicular to the street (so it always shows the houses front-on) > by setting it to be perpendicular to the bearing of the adjacent > panorama location. > > Is it worth using setLocationAndPOV in your code? -- You received this message because you are subscribed to the Google Groups "Google Maps API" 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-api?hl=en.
