dump1090/public_html/config.js

51 lines
1.7 KiB
JavaScript
Raw Normal View History

// --------------------------------------------------------
//
// This file is to configure the configurable settings.
// Load this file before script.js file at gmap.html.
//
// --------------------------------------------------------
// -- Output Settings -------------------------------------
// Show metric values
2015-01-07 19:41:38 +01:00
// This controls the units used in the plane table,
// You can choose to enable Metric or Imperial or both.
// If you enable both, by setting PreferMetric to either true or false,
// you control which unit is displayed first.
PreferMetric = true;
EnableMetric = true;
EnableImperial = false;
// -- Map settings ----------------------------------------
2015-01-07 19:41:38 +01:00
// 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;
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
// -- Marker settings -------------------------------------
// The default marker color
MarkerColor = "rgb(127, 127, 127)";
SelectedColor = "rgb(225, 225, 225)";
StaleColor = "rgb(190, 190, 190)";
SiteCircles = true; // true to show circles (only shown if the center marker is shown)
2013-05-30 11:31:41 +02:00
// In nautical miles or km (depending settings value 'Metric')
SiteCirclesDistances = new Array(100,150,200);
// Show the clocks at the top of the righthand pane? You can disable the clocks if you want here
2015-01-07 19:41:38 +01:00
ShowClocks = true;
// Controls page title, righthand pane when nothing is selected
PageName = "DUMP1090";