changed animation during re-tracking to show track
This commit is contained in:
parent
5b68c75a77
commit
b21cc2e931
1 changed files with 13 additions and 0 deletions
|
@ -1123,6 +1123,19 @@ public class RoutingEngine extends Thread
|
|||
{
|
||||
synchronized( openSet )
|
||||
{
|
||||
if ( guideTrack != null )
|
||||
{
|
||||
ArrayList<OsmPathElement> nodes = guideTrack.nodes;
|
||||
int[] res = new int[nodes.size() * 2];
|
||||
int i = 0;
|
||||
for( OsmPathElement n : nodes )
|
||||
{
|
||||
res[i++] = n.getILon();
|
||||
res[i++] = n.getILat();
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
List<OsmPath> extract = openSet.getExtract();
|
||||
int[] res = new int[extract.size() * 2];
|
||||
int i = 0;
|
||||
|
|
Loading…
Reference in a new issue