image - Google Maps vs Street View - inverted pitch parameter? -
i wrote php script, static image street view static image api after giving script usual google maps url.
but, set position of street view ground, , run script, image of sky, , vice-verse.
here example.
usual google maps url: https://maps.google.com/?ll=54.899267,23.884749&spn=0.022086,0.062485&t=m&z=15&layer=c&cbll=54.898264,23.885077&panoid=eu75vjouqnejdsoujeocda&cbp=12,17.61,,0,36.53 <- pitch = 36.53 )
and here static image api: http://maps.googleapis.com/maps/api/streetview?size=640x400&location=54.898264,23.885077&heading=17.61&pitch=36.53&fov=70&sensor=false can see, pitch same size, image shows sky.
if invert pitch (-36.53), ok.(i can't show i, because of reputation, no more 2 links).
is bug or what? don't find info thing.
it appears values inverted, there no bug.
the parameters google-maps afaik not official documented, error here rely on these parameters.
but parameters street view image api documented: * pitch
(default 0) specifies or downwards angle of photographic camera relative street view vehicle. often, not always, flat horizontal. positive values angle photographic camera (with 90 degrees indicating straight up); negative values angle photographic camera down (with -90 indicating straight down).*
image api google-maps google-maps-api-3 google-street-view
No comments:
Post a Comment