On Feb 19, 8:49 am, Anthony Smith <[email protected]> wrote: > No, that did not help. I had already saw that.
Then what code are you looking for? There is an example in that thread that computes the yaw from a given streetview panorama to a location. Maybe you should post a link to your map so we can see what the problem you are having is: http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines -- Larry > > On Feb 19, 10:33 am, "[email protected]" <[email protected]> > wrote: > > > > > On Feb 19, 8:08 am, Anthony Smith <[email protected]> wrote: > > > > I think I understand what you are syaing, however I am not sure how to > > > do that. > > > How do I use the bearing from the nearest panorama to the address to > > > determine the yaw? > > > Does this > > help?http://groups.google.com/group/Google-Maps-API/browse_frm/thread/48da... > > > > Code examples please? > > > > On Feb 19, 1:08 am, "[email protected]" <[email protected]> > > > wrote: > > > > > On Feb 18, 10:21 pm, Anthony Smith <[email protected]> wrote: > > > > > > I am using this little snippet of code below to show an address. But > > > > > unless I fiddle around with the yaw and pitch, it will end up showing > > > > > the street. What can I do to automatically show the address in > > > > > question? When I do a google maps of the address, they always show the > > > > > image of the address and not just the street. How can I do the same? > > > > > > var house = new GLatLng(<?php echo $latitude; ?>,<?php echo > > > > > $longitude; ?>,190 ); > > > > > myPOV = {yaw:280.64659986187695,pitch:-0.01}; > > > > > panoramaOptions = { latlng:house, pov:myPOV}; > > > > > myPano = new GStreetviewPanorama(document.getElementById > > > > > ("pano"), panoramaOptions); > > > > > GEvent.addListener(myPano, "error", handleNoFlash); > > > > > If you have a "rooftop" geocode for the address, you can use the > > > > bearing from the nearest panorama to the address to determine the > > > > yaw. I don't know that you can automatically calculate the pitch. > > > > > -- Larry- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
