【发布时间】:2015-03-28 19:48:55
【问题描述】:
我想知道如何让'Toast.makeText`告诉我路径中城市的顺序
代码:
shortest = TSP.tsp(Matrix);
for(int i=0; i < 20 ; i++)
{
googleMap.addPolyline(new PolylineOptions().geodesic(true)
.add(new LatLng(placeLatitude[shortest[i]],placeLongitude[shortest[i]]))
.add(new LatLng(placeLatitude[shortest[i+1]],placeLongitude[shortest[i+1]]))
);
}
}
【问题讨论】:
-
请考虑为您的问题放置一个最小的代码示例,并将您的问题重新集中在您的问题上,人们不需要知道您的应用程序回答的目的是什么,只需要显示
toast覆盖谷歌地图,您提供的帮助您的代码太长了! -
你有没有在Android@dvhh 中使用google 地图的经验
标签: android google-maps android-toast