Map Brightness

Bug reports and questions about running Virtual Radar Server on Linux
Post Reply
geffers
Posts: 14
Joined: Fri Jun 29, 2018 4:58 pm

Map Brightness

Post by geffers »

Folks,

Running 2.4.2 on Linux and using latest Firefox as browser, VRS appears to be working fine but would like to clarify something; I've tried various map displays and whilst all are perfectly readable they all appear slightly dark as though viewed through sunglasses.

This may be intentional for clarity but just checking in case it is a setting I have missed.

Thank you,

Geffers
geffers
Posts: 14
Joined: Fri Jun 29, 2018 4:58 pm

Re: Map Brightness

Post by geffers »

Now I am guessing it must be a setting somewhere as if I go to adsbexchange.com and view their Global Radar View the map is bright as I would expect.

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

Re: Map Brightness

Post by agw »

Most of the OSM maps are set to about 70% brightness because otherwise they can be a bit too bright for the altitude & speed trails. At the moment it is not configurable, that might change in the future.

ADSBExchange are using the Google Maps provider. That provider adds a dim custom map type for use with altitude & speed trails.
geffers
Posts: 14
Joined: Fri Jun 29, 2018 4:58 pm

Re: Map Brightness

Post by geffers »

Thanks for reply, noticed assbexchange were brighter and that they used Google maps.

Cant quite understand Google's key system to use their map but the OSM maps are fine.

Geffers
kusuriurikun
Posts: 4
Joined: Thu Apr 04, 2019 5:47 pm

Re: Map Brightness

Post by kusuriurikun »

I know this particular thread is a few months old, but (as a note) apparently ADSBx is now using OSM (after Google started requiring credit cards and charging for more than nominal use of their map API).

I've found that in 2.4.2 you can actually create a TileServerSettings-Custom.json file (in Windows, it'd be placed in %LocalAppData%\Local\VirtualRadar in most installs), follow the instructions in TileServerSettings-Readme.txt, copy the relevant bits from TileServerSettings-Downloaded.json and leave the actual brightness as null, and get the same brightness as on ADSBx.

(That said, it'd be really nice if a future version of VRS did allow us to adjust the map brightness natively instead of messing about with JSON scripts :D)

An example from my own modded TileServerSettings-Custom.json:

Code: Select all

// place this below that first bracket
  {
    "MapProvider": "Leaflet",
    "DisplayOrder": 1,
    "Name": "OSM Brightened",
    "Url": "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
    "Attribution": "[c] [a href=http://www.openstreetmap.org/copyright]OpenStreetMap[/a]",
    "Subdomains": null,
    "Version": null,
    "MinZoom": null,
    "MaxZoom": 19,
    "ZoomOffset": null,
    "MinNativeZoom": null,
    "MaxNativeZoom": null,
    "ZoomReverse": false,
    "DetectRetina": false,
    "ClassName": null,
    "ExpandoOptions": []
  }
  // if you have other maps, add a comma after curly brace and other maps as you like (Chartbundle, other OSM maps, etc.)
Post Reply