37c005c222
See the clone at https://gitorious.org/fg/canvas-hackers-fgdata/source/topics/canvas-radar:
16 lines
398 B
Text
16 lines
398 B
Text
# See: http://wiki.flightgear.org/MapStructure
|
|
# Class things:
|
|
var name = 'APS';
|
|
var parents = [DotSym];
|
|
var __self__ = caller(0)[0];
|
|
DotSym.makeinstance( name, __self__ );
|
|
|
|
var element_type = "group";
|
|
var element_id = "airplane";
|
|
|
|
var init = func {
|
|
canvas.parsesvg(me.element, "Nasal/canvas/map/boeingAirplane.svg");
|
|
me.draw();
|
|
};
|
|
var draw = func me.element.setRotation(me.layer.map.getHdg());
|
|
|