Google Street View in Java
<!--Add scripts from google while signing up for MAps--> <script type="text/javascript"> var myPano; var geocoder2; function initialize() { var address2='Address'; geocoder2 = new GClientGeocoder(); if (geocoder2) { geocoder2.getLatLng( address2, function(point) { if (!point) { } else { var fenwayPark = point; panoramaOptions = { latlng:fenwayPark }; myPano = new GStreetviewPanorama(document.getElementById("pano"), panoramaOptions); GEvent.addListener(myPano, "error", handleNoFlash); } } ); } } function handleNoFlash(errorCode) { // alert(errorCode); document.getElementById('pano').innerHTML="<--ERROR MESSAGE-->"; } </script>
http://
http://mysection.com
Contributed by:
Rohit kakria
I am software developer, moderator of xpode.com
Resourse address on xpode.com
http://www.xpode.com/Print.aspx?Articleid=20
Click here to go on website
|