Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 Google Maps v2 上绘制“从”某个位置“到”另一个位置的路线?
我用 api v2 做了一个简单的应用,但现在我将绘制到地图中不同位置的路线。
可能吗?提前致谢!:)
使用 - 最终 Intent 意图 = new Intent(Intent.ACTION_VIEW,Uri.parse("http://maps.google.com/maps?" + "saddr="+from +"&daddr="+to));
intent.setClassName("com.google.android.apps.maps", "com.google.android.maps.MapsActivity");
开始活动(意图);