Allow more than 9 range circles

The "to-do" list for Virtual Radar Server is as long as my arm, but if you want to pile more work onto it then this is for you.
goldy714
Posts: 1
Joined: Sun Feb 12, 2017 1:57 am

Allow more than 9 range circles

Postby goldy714 » Sun Feb 12, 2017 2:03 am

G'day,

I'd like to be able to use more than 9 range circles as I regularly pick up aircraft more than 1000km's away. Using 100km spacings leaves me a bit short. Is there already a way to increase this or would it be considered a feature suggestion?

Cheers,

Goldy

agw
Posts: 1883
Joined: Fri Feb 17, 2012 3:20 am

Re: Allow more than 9 range circles

Postby agw » Mon Feb 13, 2017 2:29 am

You'll need to install the custom content plugin and the follow the instructions here on how to write and install a script that overrides global options:

http://www.virtualradarserver.co.uk/Documentation/CustomContent/ChangeSettings.aspx

The option you want to override is aircraftMarkerRangeCircleMaxCircles so the script would be something like this:

Code: Select all

<script type="text/javascript">
    if(VRS && VRS.globalDispatch && VRS.serverConfig) {
        VRS.globalDispatch.hook(VRS.globalEvent.bootstrapCreated, function(bootStrap) {
            VRS.globalOptions.aircraftMarkerRangeCircleMaxCircles = 99;
        });
    }
</script>


Return to “Feature Suggestions”

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest