2b6964911f
- add VOR, APP, PLAN and CTR modes. - add true/mag switch - display waypoint altitudes
12 lines
354 B
Text
12 lines
354 B
Text
var AirplaneSymbolModel = {};
|
|
AirplaneSymbolModel.new = func make( LayerModel, AirplaneSymbolModel );
|
|
|
|
AirplaneSymbolModel.init = func {
|
|
me._view.reset(); # wraps removeAllChildren() ATM
|
|
|
|
me.push( { lat: getprop("/position/latitude-deg"), lon : getprop("/position/longitude-deg"), hdg : getprop("/orientation/heading-deg") } );
|
|
|
|
me.notifyView();
|
|
}
|
|
|
|
|