Originally posted by ecosta
View Post
After adding lat & lon, receiver marker and 3 Circles at 100, 150 and 200 nm from receiver start showing.
How To Chage Radius and/or Number of Site Circles
(1) SSH to Pi and make a backup copy of file config.js with name config.js.bak. This backup copy will enable you to revert in case somethong goes wrong.
Code:
cd /usr/share/dump1090-mutability/html sudo cp config.js config.js.bak
(2) After making backup copy, edit file "config.js"
Code:
cd /usr/share/dump1090-mutability/html sudo nano config.js
Code:
// In nautical miles or km (depending settings value 'Metric') SiteCirclesDistances = new Array([COLOR=#e74c3c]100,150,200[/COLOR]);
Code:
SiteCirclesDistances = new Array([COLOR=#e74c3c]50,100,150,200[/COLOR]);
(6) Reload Browser (Ctrl+F5). Circle will appear with modified radius. If circles dont show modified distance, clear browser cache (Ctrl+Shift+Delete), then reload browser (Ctrl+F5).
Comment