答案 0 :(得分:2)
您需要在查询字符串中传入latitude
和longitude
。所以像这样:
http://maps.google.com/maps/geo?q=43.6426038,-79.3871169&output=csv
将返回
200,9,"CN Tower, Toronto, ON M5V 2T6, Canada"
此处有关Google地图参数的完整说明:http://mapki.com/wiki/Google_Map_Parameters
答案 1 :(得分:0)
使用 在Api以下,您可以从Lat和Log获取地址 NSString * address = [NSString stringWithFormat:@“http://ws.geonames.org/findNearestAddress?lat=%f&lng=%f”,newLocation.lattitude,newLocation.longitude]; NSURL * url = [NSURL URLFromString:address];