In the last couple of days our charity fundraising site has broken, I
need to get this fixed asap. If you go to 
http://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.

All parameters are being passed in properly but this has no effect on
the Streetview object, and calling streetview.getPOV().yaw after init
confirms that it's set to 0.

Relevant code:
function loadComplete(sv_lat,sv_lng,sv_yaw,sv_pitch,sv_zoom) {
        var thisLocation = new google.maps.LatLng(sv_lat,sv_lng);
        currentPOV = { yaw:sv_yaw,pitch:sv_pitch,zoom:sv_zoom };
        var svOpts = {latlng:thisLocation,pov:currentPOV};
        alert(svOpts.pov.yaw);
        streetview = new google.maps.StreetviewPanorama($streetview,svOpts);

        $svQ.show();
        changeInfo("You are currently viewing a friend's Housebling");
        showControls($('#c_lsv'));
        sendBothBack();
        removeDialog();
        return false;
}

Full code: http://worldcup.housebling.org.uk/test1/scripts/scripts.js

Thanks in advance for your help.

-- 
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.

Reply via email to