Well ! In previous post, we have discussed about drawing routes on Google Map. But you need to make sure one thing that, the locations that you are providing in latitude & longitude must have valid route between them. Previous sample code will get crashed if there is no route available.
If you are getting following crash errors, please make sure you are providing valid location details using which path can be generated.
Program received signal: "SIGABRT".
Program received signal: "EXC_BAD_INSTRUCTION".
So, I have modified the code & here is the snap-shots of modification done by me.
Here are the sample outputs.
Grab the sample code from here.
Sample code for xcode4.1 code from here.