Oct 15

The include to go on the header, replace the abcdef key with your google API key.

<script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=abcdefg&sensor=true">

The

window.addEvent('domready',function()
{	new GClientGeocoder().getLatLng('',function(pt)
{	if (pt)
{	var map = new GMap2(document.getElementById('map'));
map.setCenter(pt, 13);
map.addOverlay(new GStreetviewOverlay());
map.addOverlay(new GMarker(pt));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());

myPano = new GStreetviewPanorama(document.getElementById('street-view'), { latlng:pt });
GEvent.addListener(map,'click', function(overlay,latlng)
{	myPano.setLocationAndPOV(latlng);
});
}
});

});
window.onunload = GUnload;

6 Responses to “Display google street view for an address using Google maps API”

  1. microsoft office 2007 professional plus keygen software Says:

    hi!,I like your writing very much! percentage we keep up a correspondence more about your article on AOL? I require an expert on this area to resolve my problem. May be that is you! Having a look ahead to peer you.

  2. prezent Says:

    I think this is one of the most significant info for me. And i’m glad reading your article. But wanna remark on some general things, The site style is perfect, the articles is really excellent : D. Good job, cheers

  3. Kamery Says:

    Hi, I found this blog in google, it is really readable! The first time I met with a blog with such concret topics.

  4. Kamery Says:

    Pingback from creditrapide.informe.com

    • How to pay off the mortgage early and wisely

  5. kominki Says:

    I wish to express my passion for your generosity for folks that have the need for guidance on this particular area of interest. Your real dedication to passing the message around appears to be amazingly beneficial and have all the time made most people much like me to get to their ambitions. Your entire useful guide indicates so much to me and still more to my office colleagues. Thanks a lot; from each one of us.

  6. kominki Says:

    Definitely believe that which you stated. Your favorite reason seemed to be on the web the easiest thing to be aware of. I say to you, I certainly get annoyed while people think about worries that they plainly don’t know about. You managed to hit the nail upon the top as well as defined out the whole thing without having side effect , people could take a signal. Will likely be back to get more. Thanks

Leave a Reply