Has anyone integrated Google's Maps Data API available here, with iPhone application. If so can you please share the skeleton code to get an head start in my application?
I want to search some nearby places (for user information e.g. park, theatre, etc.) with respect to current location using Google Maps Data API.
I just published some simple iOS classes that use Google's Local Search API to get location information about places in a map region via a name or address search. There are detailed instructions here, and the GitHub repository is here.
Hopefully, this information will make it very easy for new developers to use the Google Local API in an iPhone app to get the latitude & longitude of businesses & other places.
I suspect this code is what you're after.
NSString *url =[[NSString alloc] initWithFormat:@"http://ajax.googleapis.com/ajax/services/search/local?v=1.0&q='%@'&sll=%f,%f&rsz=large&start=0",query, location.latitude, location.longitude];
You may also want to review https://github.com/twoism/gkit
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With