add preciese coordinates to new start points

This commit is contained in:
MadWasp79 2020-07-09 14:32:59 +03:00
parent 45991e8834
commit 1a0e73af0d

View file

@ -852,6 +852,8 @@ public class BinaryRoutePlanner {
public RouteSegmentPoint(RouteDataObject road, int segmentStart, double distSquare) {
super(road, segmentStart);
this.distSquare = distSquare;
this.preciseX = road.getPoint31XTile(segmentStart);
this.preciseY = road.getPoint31YTile(segmentStart);
}
public RouteSegmentPoint(RouteSegmentPoint pnt) {