Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote