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);
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---