Author: gcomberiati | Posted on: 10/17/2009 6:23:00 AM | Views : 442

Hi,
I am trying to get a program to display a streetview by passing in a street address in vb.net 2.0. I have successfully written a geocoder to parse out the Latitude and Longitude, and I have written the Javascript to display the street view (there are many examples of this on the web). What I would like to do is move the Javascript into the ASP.net code. This is the JavaScript function that needs to be converted:
var myPano;
    
    function initialize(slat,slng) {
      var fenwayPark = new GLatLng(slat, slng);
    
      panoramaOptions = { latlng:fenwayPark };
      myPano = new GStreetviewPanorama(document.getElementById("pano"), panoramaOptions);
      GEvent.addListener(myPano, "error", handleNoFlash);
    }
Anyone have an idea how to do t ...

Go to the complete details ...