I am writing an iphone application when you give a search text, it locate possible addresses.
I was thinking there maybe some Google API for this. I have seen several applications with this feature.
Can anyone provide some information on this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you’ve found the API you want (looks like you have), the basic idea is to use
NSURLRequest,NSURLConnection, andNSMutableDatato construct a url (ie.http://maps.googleapis.com/maps/api/geocode/output?parameters) and load the resulting data into your application.From there, I would make use of a JSON parsing lib to convert the result string into an
NSDictionary, so that you can use it easily in your app. This one is my favorite: http://code.google.com/p/json-framework/good luck!