Options: SiteCircles = true; SiteCirclesDistances = new Array(100,150,200); Circles are only shown if 'SiteShow' is true. SiteCirclesDistances is array of numbers. Distances are in NM or km depending 'Metric'-settings. modified: public_html/config.js modified: public_html/script.js
33 lines
1.1 KiB
JavaScript
33 lines
1.1 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)";
|
|
|
|
// -- 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)
|
|
SiteCirclesDistances = new Array(100,150,200); // In nautical miles or km (depending settings value 'Metric')
|
|
|