change the limit of bus
This commit is contained in:
@@ -195,7 +195,7 @@ public class TrackObj {
|
||||
double dis = CoordinateUtils.calculateLineDistance(center[0], center[1], cacheData.getLongitude(), cacheData.getLatitude());
|
||||
// Log.d("emArrow-Track", "uuid : " + cacheData.getUuid() + " , type : " + cacheData.getType() + " , list size : " + objQueueList.size() + " , dis : " + dis);
|
||||
if (cacheData.getType() == TrafficTypeEnum.TYPE_TRAFFIC_ID_BUS.getType() || cacheData.getType() == TrafficTypeEnum.TYPE_TRAFFIC_ID_TRUCK.getType()) {
|
||||
return dis <= 0.8;
|
||||
return dis <= 0.6;
|
||||
} else {
|
||||
return dis <= 0.3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user