Click here to hide categories Click here to show left categories

User: Home          welcome : Guest          Log In / Register here     




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>

Helpful Website Url
http://mysection.com
Share this article   |    Print    |    Article read by 3724 times
Author:
Rohit kakria
I am software developer, moderator of xpode.com
Related Articles: No related article
Related Interview Questions: No related interview question