Created
July 11, 2010 09:59
-
-
Save dmnkhhn/471436 to your computer and use it in GitHub Desktop.
Find the WOEID for a location using Yahoo YQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Titanium.Yahoo.yql('select * from yahoo.maps.findLocation where q="'+latitude+','+longitude+'" and gflags="R"',function(e) { | |
var woeid = e.data.ResultSet.Results.woeid; | |
Titanium.API.info(woeid); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment