Posted on: 4/23/2013 8:27:11 PM | Views : 243

Does anyone have a good SIMPLE examples of getting longitudes and latitudes from yahoo or google?
The code below worked with yahoo but they changed it. Whats a good replacement and SIMPLE SIMPLE?
 
 
Protected Sub YahooGeocodesButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles YahooGeocodesButton.Click Dim oHTTP, oXML As Object Dim sURL, sResult, sAddress, cYahooID, sLat, sLong As String sResult = "" Try sAddress = "12200 Carl Road Creedmoor, Texas 78610-2184" 'pAddressCityStateZip sURL = "http://where.yahooapis.com/geocode?appid=" & cYahooID & "&location=" & sAddress 'Call Yahoo geocode service oHTTP = CreateObject("Microsoft.XMLHTTP") oHTTP.Open("GET", sURL, False) Try oH ...

Go to the complete details ...