diff --git a/Nasal/canvas/map/boeingND.svg b/Nasal/canvas/map/boeingND.svg
index 869be65da..43fc41b25 100644
--- a/Nasal/canvas/map/boeingND.svg
+++ b/Nasal/canvas/map/boeingND.svg
@@ -28,13 +28,13 @@
inkscape:window-height="716"
id="namedview102"
showgrid="false"
- inkscape:zoom="1"
- inkscape:cx="240.103"
- inkscape:cy="639.263"
+ inkscape:zoom="0.5"
+ inkscape:cx="432.905"
+ inkscape:cy="372.682"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
- inkscape:current-layer="layer3"
+ inkscape:current-layer="layer1"
inkscape:object-nodes="true"
inkscape:snap-smooth-nodes="true"
inkscape:snap-object-midpoints="true"
@@ -219,6 +219,7 @@
+
4
+ sodipodi:role="line">6
+
@@ -1443,6 +1494,7 @@
+
\ No newline at end of file
diff --git a/Nasal/canvas/map/route.draw b/Nasal/canvas/map/route.draw
index d71f96dc5..10f666cfc 100644
--- a/Nasal/canvas/map/route.draw
+++ b/Nasal/canvas/map/route.draw
@@ -45,16 +45,18 @@ var draw_route = func (group, theroute, controller=nil, lod=0)
{
if (i == 0) {
var leg = fp.getWP(1);
+ var j = 0;
foreach (var pt; leg.path()) {
append(coords,"N"~pt.lat);
append(coords,"E"~pt.lon);
- if (i==0){
+ if (j==0){
append(cmds,2);
- i+=1;
+ j=1;
} else
append(cmds,4);
}
canvas.drawwp(group, leg.path()[0].lat, leg.path()[0].lon, fp.getWP(0).alt_cstr, fp.getWP(0).wp_name, i, wp);
+ i+=1;
}
var leg = fp.getWP(i);
foreach (var pt; leg.path()) {