43d29389f2
to working directly with the DOM to update the table / selected plane info. Seems to speed things up (and deflicker them) a lot. Also stable sorts, allow disabling the clocks, draw ground tracks in a different color, put "last seen" info on the selected plane infobox, if position updates are infrequent then combine them into a single estimated line so that dash placement works properly, probably a bunch of other things..
38 lines
1.2 KiB
JavaScript
38 lines
1.2 KiB
JavaScript
// --------------------------------------------------------
|
|
//
|
|
// This file is to configure the configurable settings.
|
|
// Load this file before script.js file at gmap.html.
|
|
//
|
|
// --------------------------------------------------------
|
|
|
|
// -- Output Settings -------------------------------------
|
|
// Show metric values
|
|
Metric = false; // true or false
|
|
|
|
// -- Map settings ----------------------------------------
|
|
// The Latitude and Longitude in decimal format
|
|
CONST_CENTERLAT = 45.0;
|
|
CONST_CENTERLON = 9.0;
|
|
// The google maps zoom level, 0 - 16, lower is further out
|
|
CONST_ZOOMLVL = 5;
|
|
|
|
// -- Marker settings -------------------------------------
|
|
// The default marker color
|
|
MarkerColor = "rgb(127, 127, 127)";
|
|
SelectedColor = "rgb(225, 225, 225)";
|
|
StaleColor = "rgb(190, 190, 190)";
|
|
|
|
// -- Site Settings ---------------------------------------
|
|
SiteShow = false; // true or false
|
|
// The Latitude and Longitude in decimal format
|
|
SiteLat = 45.0;
|
|
SiteLon = 9.0;
|
|
|
|
SiteCircles = true; // true or false (Only shown if SiteShow is true)
|
|
// In nautical miles or km (depending settings value 'Metric')
|
|
SiteCirclesDistances = new Array(100,150,200);
|
|
|
|
|
|
// You can disable the clocks if you want here:
|
|
ShowClocks = false;
|