开发者

What link will return an address when I pass latitude and longitude?

http://maps.google.com/maps/geo?q=address&output=csv

The above link gives the latitude and longitude from address.

I want a similar link to ge开发者_开发技巧t address from latitude and longitude.


You need to pass in the latitude and longitude in the query string. So something like this:

http://maps.google.com/maps/geo?q=43.6426038,-79.3871169&output=csv

will return

200,9,"CN Tower, Toronto, ON M5V 2T6, Canada"

Full description of Google Maps Parameters here: http://mapki.com/wiki/Google_Map_Parameters


Using Below Api you can Get Address From Lat And Log NSString *address = [NSString stringWithFormat:@"http://ws.geonames.org/findNearestAddress?lat=%f&lng=%f", newLocation.lattitude, newLocation.longitude]; NSURL *url = [NSURL URLFromString:address];

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜