Getting direction of a route and drawing polyline on map using google sdk.
I didn't uploaded pod files because of size limit while uploading. You can run code by doing following--
1. open terminal 2. go to the project folder 3. run command - pod init 4. add following into your pod file
target 'GoogleDirectionWithPolyLine' do source 'https://github.com/CocoaPods/Specs.git' pod 'GoogleMaps'
target 'GoogleDirectionWithPolyLineTests' do inherit! :search_paths # Pods for testing end
target 'GoogleDirectionWithPolyLineUITests' do inherit! :search_paths # Pods for testing end
end
-
Run - pod install
-
Open workspace and everything should work fine now.