2019-10-14 16:48:35 +00:00
|
|
|
# Class things:
|
|
|
|
var name = 'APT';
|
|
|
|
var parents = [Symbol.Controller];
|
|
|
|
var __self__ = caller(0)[0];
|
|
|
|
Symbol.Controller.add(name, __self__);
|
|
|
|
Symbol.registry[name].df_controller = __self__;
|
|
|
|
var new = func(model) ; # this controller doesn't need an instance
|
|
|
|
var LayerController = SymbolLayer.Controller.registry[name];
|
|
|
|
var isActive = func(model) LayerController.a_instance.isActive(model);
|
|
|
|
var query_range = func()
|
|
|
|
die(name~".scontroller.query_range /MUST/ be provided by implementation");
|
|
|
|
|
|
|
|
var getpos = func(model){
|
2019-12-29 21:37:52 +00:00
|
|
|
[model.lat, model.lon];
|
2019-10-14 16:48:35 +00:00
|
|
|
}
|
|
|
|
|