> request = 'http://ws.geonames.org/findNearByWeatherJSON?lat='+point.y
> +'&lng='+point.x+'&callback=getLocation';
Well, that's a nice string variable; but you don't do anything with
it.
You need to do something else to make your script go off and fetch the
data from that URL, a substitute for GDownloadUrl if you like.
There's more than one technique, but here's an example
http://www.php-editors.com/articles/php-json.php
which creates <script> tags on the fly.
cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---