2b6964911f
- add VOR, APP, PLAN and CTR modes. - add true/mag switch - display waypoint altitudes
10 lines
369 B
Text
10 lines
369 B
Text
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);
|
|
|