changed animation during re-tracking to show track

This commit is contained in:
Arndt 2015-10-18 11:43:49 +02:00
parent 5b68c75a77
commit b21cc2e931

View file

@ -1123,6 +1123,19 @@ public class RoutingEngine extends Thread
{ {
synchronized( openSet ) 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(); List<OsmPath> extract = openSet.getExtract();
int[] res = new int[extract.size() * 2]; int[] res = new int[extract.size() * 2];
int i = 0; int i = 0;