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.
ABとACの同じGeoPoint平均からの2つのルートパスを表示したかったのです。 Route1にはABからのGeoPointが含まれ、Route2にはACからのGeoPointが含まれます。私を助けてください。
次のコードを使用しましたか
String url = "http://maps.googleapis.com/maps/api/directions/json?origin=" + currentLat + "," + currentLng + "&destination=" + lat + "," + lng + "&sensor=false";
google-maps-android-api-v2を使用して、これに従ってください。
答え : Google Maps Android API v2 を使用して 2 点間のパスを描画します