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®ion=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.
精彩评论