Radarspotting

Mode-S Software => Virtual Radar Server => Topic started by: rdjsb on December 16, 2017, 11:53:22 PM

Title: GlobalOption "Hide aircraft not on map" does not work
Post by: rdjsb on December 16, 2017, 11:53:22 PM
Hello,

I want to do 2 things via a Script in Virtual Radar Server and it does not work :
1) I am trying to enable te checkbox "Hide aircraft not on map" by default in the configuration menu.
2) I also want to hide this checkbox in the configuration menu, so this checkbox can not be unchecked.

Attached (file) the script I have running in Virtual Radar, but the checkbox is still visible in the configuration menu and the Aircraft not on the map are still shown in the list. The checkbox "Hide aircraft not on map" is not checked by the script.
What am I doing wrong? Or what's wrong in my script?

My plugin is configured the right way, because when I replace
QuoteVRS.globalOptions.aircraftListHideAircraftNotOnMap = true;
with
Quotealert('It worked!');
The script displays the alert box with the text 'It worked!'

So it looks like the global option "aircraftListHideAircraftNotOnMap" does not what it supposed to do.
I hope someone can help.

PS: I have the latest preview version of Virtual Radar Server installed.

Regards,
Roland


[Attachment deleted by Admin to save file space]