1
0
Fork 0

Remove data of previous airport in Select Airport dialog

This commit is contained in:
Thomas Geymayer 2012-09-18 23:38:53 +02:00
parent d214a6fcf8
commit 9004040063

View file

@ -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);