Remove data of previous airport in Select Airport dialog
This commit is contained in:
parent
d214a6fcf8
commit
9004040063
1 changed files with 2 additions and 2 deletions
|
@ -434,8 +434,8 @@
|
|||
if (id != "") {
|
||||
var apt = airportinfo(id);
|
||||
|
||||
#map.removeAllChildren();
|
||||
#layer_runways = map.createChild("group", "runways");
|
||||
map.removeAllChildren();
|
||||
layer_runways = map.createChild("group", "runways");
|
||||
|
||||
var airport = canvas.AirportMap.new(apt);
|
||||
airport.build(layer_runways);
|
||||
|
|
Loading…
Add table
Reference in a new issue