Commit bb439835 by chamberone

fix: 调整坐标问题

1 parent 00583b09
...@@ -59,7 +59,7 @@ public class PathController implements IPath { ...@@ -59,7 +59,7 @@ public class PathController implements IPath {
// 获取距离 // 获取距离
Distance distance = roadDistanceUtils.getDistance2(new Location(0L, null, null, fromX, fromY), Distance distance = roadDistanceUtils.getDistance2(new Location(0L, null, null, fromX, fromY),
new Location(0L, null, null, fromX, fromY), vehicleType); new Location(0L, null, null, toX, toY), vehicleType);
DistanceDTO dto = new DistanceDTO(); DistanceDTO dto = new DistanceDTO();
dto.setDis(distance.getDis()); dto.setDis(distance.getDis());
dto.setTime(distance.getTime()); dto.setTime(distance.getTime());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!