Been on holidays for 3 months. Had my units fall over and tidying up my settings now. (Unfortunately lost all my precious recorded data with FA because new setups recorded when reconnected ) Currently working both mutability and FA versions of 1.15 / 3.50. I have been trolling through trying to find the latest set up for range circles, which I have had working in previous versions. Indeed on SD card updated to current versions and still has working range circles etc. But having trouble setting up a new SD card with the correct settings. Just a link to the setting that will work with the latest 1.15 / 3.50 versions.
I have noted there have been some changes to my previous settings used and appreciate as code changes, so does the script to maintain what has been developed.
I am not at my home, so canāt answer after checking. Answering from memory.
If the dump 1090-mutability v1.15~dev was installed by Joe Procazkhaās scripts, do this:
In file config.is, scroll down till you find a line
Metric="false; "
Remove quotes " " (but donāt remove the ; semi colon), so the line becomes
Metric=false;
Save the file config.js, and restart dump1090-mutability
sudo systemctl restart dump1090-mutability
Now clear cache of your browser, and reload/refresh the map in your browser, and hopefully you will see the range rings in **nautical miles ** 100, 200, and 250.
GOOD LUCK!
EDIT:
(1) Folder āhtmlā was missing in command āsudo nano /usr/share/dump1090-mutability/html/config.jsā
Now I have added it.
(2) By default, there are 3 circles at 100, 150 & 200 nm. If you want to add more circles, go to following line in āconfig.jsā and add numbers as shown in red.
SiteCirclesDistances = new Array(50,100,150,200,250,300);
Following are two OUT DATED threads for dump1090-mutability and for dump1090-fa.
These have become outdated due to changes made during upgrades in files:
ā/usr/share/dump1090-mutability/html/script.jsā
and
ā/usr/share/dump1090-fa/html/script.jsā.
If someone is aware of how to do it in latest versions of dump1090-mutability and dump1090-fa, it will help many if shared.
Updated method for colored circles for dump1090-mutability ver1.15~dev
#enter the html folder
cd /usr/share/dump1090-mutability/html/
#make a copy of script.js by the name script_orig.js before modifications.
#this way you will have a backup copy in case somrthing goes wrong.
sudo cp script.js script_orig.js
#open file script.js for editing
sudo nano script.js
The last command above will open the file āscript.jsā for editing
Press Ctrl+w, then type siteCircle, then press Enter key. The cursor will jump to siteCircle.
Make changes as shown in red below, save the file and exit the editor.
Reload the Browser to see map with colored circles.
NOTE:
Forum is blocking me to post the code. Code below is a screenshot of Word file. Download the Word file containing code to facilitate copy-paste. dropbox.com/s/0nwof781qem2h ā¦ 0-mut.docx
Yay, another problem solved, thanks mystro. The dashed lines is a good upgrade to previous version. I did see some where someone added that little tweak, thanks Now, the range limit lines that heywhatsthat produces, I remember you can colour those too ā¦ ??
Updated method for colored circles for dump1090-fa (Version 3.5.0)
#enter the html folder
cd /usr/share/dump1090-fa/html/
#make a copy of script.js by the name script_orig.js before modifications.
#this way you will have a backup copy in case somrthing goes wrong.
sudo cp script.js script_orig.js
#open file script.js for editing
sudo nano script.js
The last command above will open the file āscript.jsā for editing
Press Ctrl+w, then type circleStyle , then press Enter key. The cursor will jump to the line:
var circleStyle = function(distance) {
Make changes as shown in red below, save the file and exit the editor.
Reload the Browser to see map with colored circles.
NOTE:
Forum is blocking me to post the code. Code below is a screenshot of Word file. Download the Word file containing code to facilitate copy-paste.
Yay another success!!! Just a question though, when installing the fa version via joeās site, it installs piaware ver 3.10. Doing a check install after initial set up, finds no upgrade. My mutability install via Joeās site, upgrades/installs piaware ver 3.5. I something busted in that fa section or does the fa ver only install 3.10?? I will be this query oin the ads b receiver site as well incase there is something busted.
Joeās script fail to install dump1090-fa 3.5.0 or even 3.1.0. However they do install Piaware 3.5.0 data feeder. Please see the post linked below for workaround.