I’ve been reading the documentation of the Google Maps SDK for iOS, and I didn’t see anything about drawing routes on the map.
I know that Polylines are available, but I don’t think that’s the best aproach.
Is it possible?
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.
There are some things in the library which aren’t in the documentation, so if you’re looking for a feature it’s worth downloading the SDK and having a look at the headers.
However in the current version 1.0.2 I don’t see anything for routing – either searching for a route or drawing them (or even looking up addresses). For now your only option is probably to use some other Google API to find the route, and then as Lee said, use polylines to draw them.