2020-01-03 21:16:40 +01:00
// --------------------------------------------------------
//
// This file is to configure the configurable settings.
//
// --------------------------------------------------------
"use strict" ;
// -- Title Settings --------------------------------------
// Show number of aircraft and/or messages per second in the page title
//PlaneCountInTitle = false;
//MessageRateInTitle = false;
// -- Output Settings -------------------------------------
2022-04-09 08:41:06 +02:00
// The DisplayUnits setting controls whether nautical (ft, nmi, kt),
2021-03-12 08:42:10 -05:00
// metric (m, km, km/h) or imperial (ft, mi, mph) units are used in the
2020-01-03 21:16:40 +01:00
// plane table and in the detailed plane info. Valid values are
// "nautical", "metric", or "imperial".
//DisplayUnits = "nautical";
// -- Map settings ----------------------------------------
// These settings are overridden by any position information
// provided by dump1090 itself. All positions are in decimal
// degrees.
// Default center of the map.
//DefaultCenterLat = 45.0;
//DefaultCenterLon = 9.0;
// The google maps zoom level, 0 - 16, lower is further out
//DefaultZoomLvl = 7;
2023-07-28 10:25:07 +02:00
// specify lat lon that the 'auto-select plane' feature will choose the closest plane to
// autoselectCoords = [42, 21];
2020-01-03 21:16:40 +01:00
// Center marker. If dump1090 provides a receiver location,
// that location is used and these settings are ignored.
//SiteShow = false; // true to show a center marker
//SiteLat = 45.0; // position of the marker
//SiteLon = 9.0;
//SiteName = "My Radar Site"; // tooltip of the marker
2023-04-13 18:12:01 +02:00
// Update GPS location (keep map centered on GPS location)
//updateLocation = false;
2020-01-03 21:16:40 +01:00
// Color controls for the range outline
//range_outline_color = '#0000DD';
2023-05-05 15:07:59 +01:00
//range_outline_alpha = 1.0;
2020-01-03 21:16:40 +01:00
//range_outline_width = 1.7;
//range_outline_colored_by_altitude = false;
2021-01-27 13:48:41 +01:00
//range_outline_dash = [5, 5]; // null - solid line, [5, 5] - dashed line with 5 pixel lines and spaces in between
2021-07-01 08:57:59 +02:00
//
//
// Style controls for the actal range outline:
// actual_range_outline_color = '#00596b';
// actual_range_outline_width = 1.7;
// actual_range_outline_dash = null; // null - solid line, [5, 5] - dashed line with 5 pixel lines and spaces in between
2020-01-03 21:16:40 +01:00
2022-09-14 07:23:57 +02:00
// Enable / disable showing the actual range outline when first visiting the page
2022-06-14 11:09:35 +02:00
// actual_range_show = true;
2020-04-15 10:20:38 +02:00
2020-01-03 21:16:40 +01:00
// which map is displayed to new visitors
2020-04-15 10:20:38 +02:00
// MapType_tar1090 = "carto_light_all";
//
// valid values for the above setting:
2020-01-03 21:16:40 +01:00
// osm
2020-04-15 10:20:38 +02:00
// esri
2020-01-03 21:16:40 +01:00
// carto_light_all
// carto_light_nolabels
// carto_dark_all
// carto_dark_nolabels
2020-04-15 10:20:38 +02:00
// gibs
// osm_adsbx
// chartbundle_sec: "Sectional Charts",
// chartbundle_tac: "Terminal Area Charts",
// chartbundle_hel: "Helicopter Charts",
// chartbundle_enrl: "IFR Enroute Low Charts",
// chartbundle_enra: "IFR Area Charts",
// chartbundle_enrh: "IFR Enroute High Charts"
//
2020-01-03 21:16:40 +01:00
// only with bing key:
// bing_aerial
// bing_roads
2022-03-18 22:24:42 +01:00
// default these overlays to on for visitors which haven't disabled them in the browser in a previous session
// defaultOverlays = ['radolan', 'nexrad'];
2022-03-18 22:31:15 +01:00
// change which product from DWD to use
// dwdLayers = 'dwd:RX-Produkt';
2020-01-03 21:16:40 +01:00
// Default map dim state, true or false.
2020-04-20 17:11:26 +02:00
// MapDim = true;
// mapDimPercentage = 0.45;
// mapContrastPercentage = 0;
2020-01-03 21:16:40 +01:00
// -- Marker settings -------------------------------------
2020-04-12 19:54:57 +02:00
// different marker size depending on zoom lvl
// markerZoomDivide = 8.5;
// marker size when the zoom level is less than markerZoomDivide
// markerSmall = 1;
// marker size when the zoom level is more than markerZoomDivide
// markerBig = 1.18;
2020-01-03 21:16:40 +01:00
2020-02-07 07:17:01 +01:00
//largeMode = 1;
2020-01-03 21:16:40 +01:00
//lineWidth = 1;
2020-04-13 09:47:56 +02:00
//
// Outline color for aircraft icons
// OutlineADSBColor = '#000000';
// Outline width for aircraft icons
// outlineWidth = 1;
2020-01-03 21:16:40 +01:00
2020-02-29 20:01:51 +01:00
// constant html color for markers / tracks
//monochromeMarkers = "#FFFFFF";
//monochromeTracks = "#000000";
2023-04-01 16:01:13 +02:00
//
// altitudeChartDefaultState = true;
2020-02-29 19:04:08 +01:00
2020-01-03 21:16:40 +01:00
// These settings control the coloring of aircraft by altitude.
// All color values are given as Hue (0-359) / Saturation (0-100) / Lightness (0-100)
//
// To enable these colors instead of the defaults, remove the /* and */ above and below the next block
/ *
ColorByAlt = {
// HSL for planes with unknown altitude:
unknown : { h : 0 , s : 0 , l : 30 } ,
// HSL for planes that are on the ground:
ground : { h : 0 , s : 0 , l : 45 } ,
air : {
// These define altitude-to-hue mappings
// at particular altitudes; the hue
// for intermediate altitudes that lie
// between the provided altitudes is linearly
// interpolated.
//
// Mappings must be provided in increasing
// order of altitude.
//
// Altitudes below the first entry use the
// hue of the first entry; altitudes above
// the last entry use the hue of the last
// entry.
h : [ { alt : 2000 , val : 20 } , // orange
{ alt : 10000 , val : 140 } , // light green
{ alt : 40000 , val : 300 } ] , // magenta
s : 88 ,
l : 44 ,
} ,
// Changes added to the color of the currently selected plane
selected : { h : 0 , s : - 10 , l : + 20 } ,
// Changes added to the color of planes that have stale position info
stale : { h : 0 , s : - 10 , l : + 30 } ,
// Changes added to the color of planes that have positions from mlat
mlat : { h : 0 , s : - 10 , l : - 10 }
} ;
* /
// For a monochrome display try this:
// ColorByAlt = {
// unknown : { h: 0, s: 0, l: 40 },
// ground : { h: 0, s: 0, l: 30 },
// air : { h: [ { alt: 0, val: 0 } ], s: 0, l: 50 },
// selected : { h: 0, s: 0, l: +30 },
// stale : { h: 0, s: 0, l: +30 },
// mlat : { h: 0, s: 0, l: -10 }
// };
2020-01-22 20:49:11 +01:00
// Range rings
// Also called range rings :)
2020-01-03 21:16:40 +01:00
//SiteCircles = true; // true to show circles (only shown if the center marker is shown)
// In miles, nautical miles, or km (depending settings value 'DisplayUnits')
//SiteCirclesDistances = new Array(100,150,200,250);
2020-10-16 10:00:22 -04:00
// When more circles defined than cirle colors last color will be used or black by default
//SiteCirclesColors = ['#FF0000', '#0000FF', '#00FF00'];
2020-10-17 20:29:42 +02:00
// Show circles using dashed line (CAUTION, can be slow, especially when zooming in a lot)
2020-10-16 10:00:22 -04:00
//SiteCirclesLineDash = [5, 5]; // null - solid line, [5, 5] - dashed line with 5 pixel lines and spaces in between
2020-01-03 21:16:40 +01:00
// Controls page title, righthand pane when nothing is selected
//PageName = "tar1090";
// Show country flags by ICAO addresses?
//ShowFlags = true;
// Set to false to disable the ChartBundle base layers (US coverage only)
//ChartBundleLayers = true;
// Provide a Bing Maps API key here to enable the Bing imagery layer.
// You can obtain a free key (with usage limits) at
// https://www.bingmapsportal.com/ (you need a "basic key")
//
// Be sure to quote your key:
// BingMapsAPIKey = "your key here";
//
BingMapsAPIKey = null ;
// This determines what is up, default is north (0 degrees)
//mapOrientation = 0;
2022-01-07 21:20:14 +01:00
// Use UTC for live labels
// utcTimesLive = false;
// Use UTC for historic labels
// utcTimesHistoric = true;
2021-07-21 20:08:58 +02:00
2020-01-03 21:16:40 +01:00
// Only display labels when zoomed in this far:
//labelZoom = 8;
//labelZoomGround = 12.5;
//labelFont = 'bold 12px tahoma';
//displayUATasADSB = false;
//uatNoTISB = true;
// Don't display any TIS-B planes
// filterTISB = false;
2023-06-17 10:32:10 -07:00
// image configuration link (back to a webUI for feeder setup)
// if the link is supposed to point to the same host that tar1090
// is running on the token 'HOSTNAME' (without quotes) in the Link
// text will be replaced with the current hostname at runtime
//
// imageConfigLink = "";
// imageConfigText = "";
2020-01-03 21:16:40 +01:00
//flightawareLinks = false;
2021-09-25 12:05:22 -05:00
//shareBaseUrl = 'https://globe.adsbexchange.com/';
2022-01-30 20:39:43 +01:00
// planespottersLinks = false;
2020-01-03 21:16:40 +01:00
2021-06-20 08:41:47 +02:00
// show links to various registration websites (not all countries)
// registrationLinks = true;
2020-01-03 21:16:40 +01:00
// Filter implausible positions (required speed > Mach 3.5)
2020-03-19 14:23:58 +01:00
// valid values: true, false, "onlyMLAT" ("" required)
2020-01-03 21:16:40 +01:00
// positionFilter = true;
// positionFilterSpeed = 3.5; // in Mach
// filter speed is based on transmitted ground speed if available
// this factor is used to give the actual filter speed
// positionFilterGsFactor = 1.8;
// debugPosFilter = false; // draw red dots for filtered positions
// altitudeFilter = true;
// time in seconds before an MLAT position is accepted after receiving a
// more reliable position
//mlatTimeout = 30;
// enable/disable mouseover/hover aircraft information
//enableMouseover = true;
// enable/disable temporary aircraft trails
//tempTrails = false;
//tempTrailsTimeout = 90;
2020-09-29 13:24:11 +02:00
//squareMania = false;
2020-01-03 21:16:40 +01:00
// Columns that have a // in front of them are shown.
2021-10-03 17:02:43 +02:00
/* / / remove this line to mofify columns ( and the one at the end )
2020-01-03 21:16:40 +01:00
HideCols = [
"#icao" ,
// "#flag",
// "#flight",
2023-04-21 19:12:49 +02:00
// "#route",
2020-01-03 21:16:40 +01:00
"#registration" ,
// "#aircraft_type",
// "#squawk",
// "#altitude",
// "#speed",
"#vert_rate" ,
// "#distance",
"#track" ,
"#msgs" ,
"#seen" ,
// "#rssi",
"#lat" ,
"#lon" ,
"#data_source" ,
]
2021-10-03 17:02:43 +02:00
* / / / remove this line to modify columns ( and the one at the start )
2020-01-23 20:45:54 +01:00
2021-03-13 08:35:12 +01:00
// show aircraft pictures
2021-03-12 15:48:34 +01:00
// showPictures = true;
2021-11-08 03:27:28 +01:00
// get pictures from planespotters.net
2021-03-13 08:35:12 +01:00
// planespottersAPI = true;
2021-11-08 03:27:28 +01:00
// get pictures from planespotting.be
// planespottingAPI = true;
2021-03-12 21:33:41 +01:00
2023-03-20 21:23:08 -07:00
// get flight route from routeApi service
// useRouteAPI = false;
// which routeApi service to use
// routeApiUrl = "https://api.adsb.lol/api/0/routeset";
2021-06-02 15:20:30 +02:00
// show a link to jetphotos, only works if planespottersAPI is disabled
// jetphotoLinks = false;
2021-03-13 08:35:12 +01:00
// showSil = false;
2021-01-28 18:08:46 +01:00
// this shows small pictures in the details but they need to be provided by the user in the folder /usr/local/share/tar1090/aircraft_sil
2021-03-13 08:35:12 +01:00
// showPictures needs to be enabled as well
// to only get these pictures disable the planespottersAPI
2021-01-28 18:08:46 +01:00
// pictures need to be named A330.png and so forth with the type code in the form TYPE.png
// provide ZZZZ.png to be shown when the type is not known.
// this feature is provided as is please don't expect tar1090's support for getting the pictures right.
2022-01-08 12:37:34 +01:00
// labelsGeom = false; // labels: uses geometric altitude (WGS84 ellipsoid unless geomUseEGM is enabled
// geomUseEGM = false; // use EGM96 for displaying geometric altitudes (extra load time!)
2021-12-20 19:59:04 +01:00
// windLabelsSlim = false;
// showLabelUnits = true;
//
// wideInfoBlock = false;
// baseInfoBlockWidth = 200;
2020-01-23 20:45:54 +01:00
//enableDWD = true;
2020-02-04 21:14:54 +01:00
// Display only the last leg of a flight in globeIndex mode.
2020-02-18 10:24:11 +01:00
//lastLeg = true;
2020-03-01 00:11:19 +01:00
//
//hideButtons = false;
2020-04-30 01:09:35 +02:00
//
//askLocation = false; // requires https for geolocation (browsers require it)
2020-05-23 20:30:06 +02:00
//
2021-08-14 08:36:14 +02:00
//filterMaxRange = 50; // don't show aircraft further than 50 nmi from the receiver
2020-11-22 23:06:29 +01:00
//
//
2021-08-14 08:36:14 +02:00
//darkModeDefault = true; // turn on dark mode by default (change in browser possible)
2022-08-01 00:29:35 +02:00
//
//
//jaeroTimeout = 35 * 60; // in seconds
//seenTimeout = 58; // in seconds
//seenTimeoutMlat = 58; // in seconds
2020-11-22 23:06:29 +01:00
2022-04-10 16:43:00 +02:00
//tableInView = false; // only show aircraft in current view (V button)
2020-11-22 23:06:29 +01:00
/ *
tableColors = {
unselected : {
adsb : "#d8f4ff" ,
mlat : "#FDF7DD" ,
uat : "#C4FFDC" ,
satellite : "#C4FFDC" ,
other : "#d8d8ff" ,
tisb : "#ffd8e6" ,
unknown : "#dcdcdc" ,
squawk7500 : "#ff5555" ,
squawk7600 : "#00ffff" ,
squawk7700 : "#ffff00" ,
} ,
selected : {
adsb : "#88DDFF" ,
mlat : "#F1DD83" ,
uat : "#66FFA6" ,
satellite : "#66FFA6" ,
other : "#BEBEFF" ,
tisb : "#FFC1D8" ,
unknown : "#bcbcbc" ,
} ,
} ;
* /
2022-07-28 15:57:43 +02:00
// disableGeoLocation = false;
2022-08-28 07:29:39 +02:00
// when data is available from both 1090 and 978, give some preference to the 978 data for up to X seconds old 978 data (set this to 15 or 30 for example)
//prefer978 = 0;
2023-02-16 15:55:49 +01:00
//
// dynGlobeRate = false; // enable use of globeRates.json in index.html directory to steer client refresh rate