So i\'ve created an app (on iOS) that uses google maps SDK, google places API, g
ID: 3706852 • Letter: S
Question
So i've created an app (on iOS) that uses google maps SDK, google places API, google directions api, along with a few other things to run it. I can get directions from current location -> any place and display them. I was wondering if there is any way that I can add custom paths that would be incorporated into google directions api so when I retrieve route directions through google directions API, those paths are included in the route directions. For example, a path that cuts through a park between 1 street in a city and another street in a city. I'm not looking for any code, just a guide or documentation to get started.
Explanation / Answer
For headstart, you can see an implementation of Dijkstra's algorithm or any greedy search algorithm, it can help you give a particular route which can be further modified as per your need.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.