diff --git a/Nasal/canvas/MapStructure.nas b/Nasal/canvas/MapStructure.nas index 7f43448bf..bc87c2d2c 100644 --- a/Nasal/canvas/MapStructure.nas +++ b/Nasal/canvas/MapStructure.nas @@ -403,6 +403,7 @@ var Symbol = { # Private constructor: _new: func(m) { m.style = m.layer.style; + m.options = m.layer.options; if (m.controller != nil) { temp = m.controller.new(m,m.model); if (temp != nil) diff --git a/Nasal/canvas/map/RTE.lcontroller b/Nasal/canvas/map/RTE.lcontroller index 74161a3f8..73096f599 100644 --- a/Nasal/canvas/map/RTE.lcontroller +++ b/Nasal/canvas/map/RTE.lcontroller @@ -42,12 +42,11 @@ var searchCmd = func { # http://wiki.flightgear.org/Nasal_Flightplan var fp = flightplan(); var fpSize = fp.getPlanSize(); + if (!getprop(me.layer.options.active_node)) fpSize = 0; var coords = []; for (var i=0; i