# See: http://wiki.flightgear.org/MapStructure # Class things: var name = 'RTE'; var parents = [LineSymbol]; var __self__ = caller(0)[0]; LineSymbol.makeinstance( name, __self__ ); SymbolLayer.get(name).df_style = { # style to use by default line_width: 5, color: [1,0,1] }; var init = func { me.element.setColor(me.style.color) .setStrokeLineWidth(me.style.line_width); };