Hi, 
I found that the camera pitch can't be greater than +45 degrees or less 
than -45 degrees in Street View panorama with Google Maps API v3.
With API v2, the camera pitch was not limited and users can look straight 
up.

For example, it is expected that the elevation angle is set to 60 degrees 
in the code below but actually it is set to 45 degrees.

var position = new google.maps.LatLng(35.682219,139.762322);
> var options = {
>     position: position,
>     pov: {
>         heading: 20,
>         pitch: 60, // Setting camera pitch
>         zoom: 1
>     }
> };
> var panorama = new 
> google.maps.StreetViewPanorama(document.getElementById("panorama"), 
> options);

(v3 sample)
https://google-developers.appspot.com/maps/documentation/javascript/examples/streetview-simple

(v2 sample)
https://developers.google.com/maps/documentation/javascript/v2/services#Streetview

Is it by design of API v3 or just a bug?

I am developing a web app which simulates satellite passes in Street View 
and this problem is fatal for me.
http://www.sightspacestation.com/index.htm?olng=en (works only on Firefox 
and IE)


Thanks,
Mariko GODA

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/Y51lRpf-QL0J.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to