c409864dac
- move SVG to Canvas directory - add basic wxradar - differentiate between track and heading - improve altitude arc - add range arcs - display correct ETA for next waypoint
10 lines
315 B
Text
10 lines
315 B
Text
var StormLayer = {};
|
|
StormLayer.new = func(group,name, controller) {
|
|
var m=Layer.new(group, name, StormModel);
|
|
m._model._controller = controller; # set up the controller for the model !!!!!
|
|
m.setDraw (func draw_layer(layer:m, callback: draw_storm, lod:0) );
|
|
return m;
|
|
}
|
|
|
|
register_layer("storms", StormLayer);
|
|
|