Skip to content

Instantly share code, notes, and snippets.

@dmnkhhn
Created July 11, 2010 09:59
Show Gist options
  • Save dmnkhhn/471436 to your computer and use it in GitHub Desktop.
Save dmnkhhn/471436 to your computer and use it in GitHub Desktop.
Find the WOEID for a location using Yahoo YQL
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