2014-04-29 02:26:32 +00:00
|
|
|
# WARNING: *.layer files will be deprecated, see: http://wiki.flightgear.org/MapStructure
|
2013-12-28 15:18:35 +00:00
|
|
|
var AirplaneSymbolLayer = {};
|
|
|
|
AirplaneSymbolLayer.new = func(group,name, controller) {
|
|
|
|
var m=Layer.new(group, name, AirplaneSymbolModel);
|
|
|
|
m._model._controller = controller; # set up the controller for the model !!!!!
|
|
|
|
m.setDraw (func draw_layer(layer:m, callback: draw_airplane_symbol, lod:0) );
|
|
|
|
return m;
|
|
|
|
}
|
|
|
|
|
|
|
|
register_layer("airplaneSymbol", AirplaneSymbolLayer);
|
|
|
|
|