[6.5.0] refactor: 通过公交站 线程优化;
This commit is contained in:
@@ -295,8 +295,8 @@ object MapDataWrapper : IMogoData {
|
||||
MapDataApi.getBusStation(routeList, object : IResult<RoutePath> {
|
||||
override fun result(code: Int, result: RoutePath?) {
|
||||
result?.steps?.forEach {
|
||||
it?.busStations?.forEach {
|
||||
val busStation = BusStation(it.busStationPoints, it.id, it.roadId, it.type, -1, -1)
|
||||
it?.busStations.forEach {
|
||||
val busStation = BusStation(it.busStationPoints, it.id.toLong() , it.roadId, it.type, -1, -1)
|
||||
resultList.add(busStation)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user