Merge pull request #9420 from osmandapp/gpx_tracking_fix
add preciese coordinates to new start points
This commit is contained in:
commit
64c9fd702e
1 changed files with 2 additions and 0 deletions
|
@ -852,6 +852,8 @@ public class BinaryRoutePlanner {
|
||||||
public RouteSegmentPoint(RouteDataObject road, int segmentStart, double distSquare) {
|
public RouteSegmentPoint(RouteDataObject road, int segmentStart, double distSquare) {
|
||||||
super(road, segmentStart);
|
super(road, segmentStart);
|
||||||
this.distSquare = distSquare;
|
this.distSquare = distSquare;
|
||||||
|
this.preciseX = road.getPoint31XTile(segmentStart);
|
||||||
|
this.preciseY = road.getPoint31YTile(segmentStart);
|
||||||
}
|
}
|
||||||
|
|
||||||
public RouteSegmentPoint(RouteSegmentPoint pnt) {
|
public RouteSegmentPoint(RouteSegmentPoint pnt) {
|
||||||
|
|
Loading…
Reference in a new issue