Chapter 32
Gesture Recognizers, Multiple Annotations with Polylines and Routes

In earlier chapters, we discussed how to get directions and draw routes on maps. Now you should understand how to use the MKDirections API to retrieve the route-based directions between two annotations and display the route on a map view.

What if you have multiple annotations on a map? How can you connect those annotations together and even draw a route between all those points?

This is one of the common questions from my readers. In this chapter, I will walk you through the implementation by building a working demo. Actually, I have covered the necessary APIs in chapter 8, so if you haven't read the chapter, I recommend you to check it out first.

To continue reading and access the full version of the book, please get the full copy here. You will also be able to access the full source code of the project.

results matching ""

    No results matching ""