2
  • 我已使用以下代码获取两个方向的路线,但我需要在 Android 中实现多个目的地选项,例如 GetDirections。

  • 即使我也尝试了 drawline() 功能的方法,但它不会显示路线指令,如(左转、右转等)。

  • 请任何人都可以帮我编写路线路径或嵌入下面列出的链接的航点功能

https://google-developers.appspot.com/maps/documentation/javascript/examples/directions-waypoints

代码

Intent intent = new Intent(android.content.Intent.ACTION_VIEW, 
Uri.parse("http://maps.google.com/maps?saddr=st.%20louis,mo&daddr=washington,dc%20to:chicago,il%20to:new%20york,ny");
startActivity(intent);
4

0 回答 0