Voice navigation possible in google map api?

Faizan Haroon picture Faizan Haroon · Mar 19, 2013 · Viewed 7.5k times · Source

How to I activate voice based directions using google map api v3? I already implemented the maps which give directions from start to end points. But now I want to hear the name of my current location . Please help ? I have it implemented in ios UIWebView so I am getting the current location from GPS. Now I update it every 2 sec, but I wana add voice based directions. How is it possible? Please help

Answer

WWJD picture WWJD · Apr 3, 2014

If you're using Google Directions API for receiving directions, you receive them in JSON format which includes the route points, the route length, the expected duration of the trip and the instructions. You can get them and then use text-to-speech to make sound out of the particular instruction when it's time for it.