Route Directions with iOS7 MapKit and Google Maps API
Posted by: Mehfuzs WebLog,
on 03 Dec 2014 |
View original | Bookmarked: 0 time(s)
In addition to built-in directions API in iOS7 MapKit, it is also possible to combine data from other sources and custom draw your directions from point A to B. In this post, I am going to use Google Maps API to plot directions between two points using MapKit.
Preparing your controller
First you need to drag/drop the map view and create referencing (IBOutlet) outlet for it in your view controller.
You have to include the following header:
Also need to adopt the MKMapViewDelegate...