2014-04-29 02:26:32 +00:00
|
|
|
# WARNING: *.model files will be deprecated, see: http://wiki.flightgear.org/MapStructure
|
2013-12-01 12:29:22 +00:00
|
|
|
var VORModel = {};
|
|
|
|
VORModel.new = func make( LayerModel, VORModel );
|
|
|
|
|
|
|
|
VORModel.init = func {
|
|
|
|
#debug.dump( me._controller );
|
|
|
|
me._view.reset();
|
|
|
|
|
|
|
|
var results = positioned.findWithinRange( me._controller.query_range()*2 ,"vor");
|
|
|
|
foreach(result; results) {
|
|
|
|
me.push(result);
|
|
|
|
}
|
|
|
|
|
|
|
|
me.notifyView();
|
|
|
|
}
|
|
|
|
|