开发者

Google Maps Boundaries (limiting location data to a Lat/Long Boundary)

Anyone know how to get thew Google Maps API HTTP request/response to only return me Locations that fall within Australia ?

I thought I could just add:

bounds=lat, long | lat Long

Creating a square boundary based off Coordinates, but Google for 开发者_开发知识库some strange reason isn't liking it.

[NSString stringWithFormat:@"%@%@+Australia&bounds=-9.102097,104.765625|-44.902578,159.697266&sensor=false&region=au", kGoogleGeocodeURL, params];


Problem resolved, it turns out that the search string was correct, but I needed to use UTF8Encoding, as NSString didn't like the Commas.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜