Turn-by-turn multiple points on a route Navigation Google Maps Intent on Android

I’m looking for a way to open turn-based navigation on Google Maps. I know that from this article on Google you can only determine the start and end points.

The first option (preferred):

I find any intention on Google Maps that does exactly what I want. Does anyone know if he is?

The second option:

I tried other ways to achieve what I want. I tried to create my own route on maps.google.com (from the desktop browser) and open it from an Android device.

The link has the following format

https://www.google.com/maps/dir/37.7851009,-122.4049193/37.7817261,-122.4008209/@37.7815141,-122.4059922,16z/data=!4m19!4m18!1m15!3m4!1m2!1d-122.4055931!2d .7834466 3s0x808580868ad307fd:! 0xa75b816ccbe984a0 3m4 1m2 1d-122.4061769 2d37.7812298 3s0x80858086b49a3cfb:!!!!! 0x23f20e98c029217c 3m4 1m2 1d-122.4031591 2d37.7817777 3s0x80858080cb0a7eb1:!!!!! 0xdc77f5df810aebcd 1m0 3e2!!

Instead of opening step-by-step navigation, he opens the Google Map Android application with the route displayed on the map. This is the closest of what I want, because there is a button that can show step-by-step navigation.

, (lat, lng). , , . - , ? , , Android, Google Maps. ( , , .)

Update: A ( ) B ( ). . , , A B, .

+4
2

:

, . , , URL- .

  • enc: (:). : waypoints = enc: gfo} EtohhU:
  • , (|). : = : ENC: ~ oAwquwMdlTxiKtqLyiK: | : C ~ vnAamswMvlTor @tjGi} L: | : : udymA {~ BXM: URL- Directions , , , :

https://maps.googleapis.com/maps/api/directions/json?origin=Boston,MA&destination=Concord,MA&waypoints=Charlestown,MA|Lexington,MA&key=YOUR_API_KEY

: https://developers.google.com/maps/documentation/directions/intro#Waypoints

+1

/ , API Google. Google Maps Javascript .

, , .

+1

All Articles