Merge pull request #9420 from osmandapp/gpx_tracking_fix

add preciese coordinates to new start points
This commit is contained in:
vshcherb 2020-07-09 13:34:52 +02:00 committed by GitHub
commit 64c9fd702e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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) {