HI i am still have a problem with retrieving data from geonames.org
i used XML ASP proxy named "proxy.asp"

<%
Dim strSite, strFile, strUrl
strSite = Request.QueryString("site")
strFile = Replace(Request.QueryString("file"), "_", "&")
Select Case strSite
Case "geonames"
strUrl = "http://ws.geonames.org/";
End Select
strFile = strUrl & strFile
Set objXMLHttp = CreateObject("MSXML2.ServerXMLHTTP")
objXMLHttp.Open "GET", strFile, False
objXMLHttp.Send ""
Response.Write objXMLHttp.responseText
Set objXMLHttp = Nothing
%>

and the function i used to call is

GDownloadUrl("http://localhost/proxy.asp?
site=geonames&file=findNearByWeatherJSON?lat="+point.y+"&lng="+point.x
+"", function(data2){
                var jsonData = eval('(' + data2 + ')');


Any ideas..Regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to