1
0
Fork 0
fgdata/Nasal/canvas/map/route.layer

12 lines
313 B
Text
Raw Normal View History

# WARNING: *.layer files will be deprecated, see: http://wiki.flightgear.org/MapStructure
var RouteLayer = {};
RouteLayer.new = func(group,name) {
var m=Layer.new(group, name, RouteModel);
m.setDraw (func draw_layer(layer:m, callback: draw_route, lod:0) );
return m;
}
register_layer("route", RouteLayer);