Added site marker (and settings for that)

Shows radars location on map. Default is not showing.

Settings:
SiteShow is boolean [true|false]
SiteLat & SiteLon in decimal format.

If using untrackedDeveloperSettings.js-file these settings can be
copy-pasted on that file:

SiteShow    = false;
SiteLat     = 45.0;
SiteLon     = 9.0;

	modified:   public_html/config.js
	modified:   public_html/script.js
	modified:   public_html/style.css
This commit is contained in:
terribl 2013-05-26 23:34:38 +03:00
parent 6cb5c2b0ff
commit 8b8f74697c
3 changed files with 32 additions and 9 deletions
public_html

View file

@ -1,17 +1,25 @@
// ----------------------------------------------------
// --------------------------------------------------------
//
// This file is to configure the configurable settings.
// Load this file before script.js file at gmap.html.
//
// ----------------------------------------------------
// --------------------------------------------------------
// -- Map settings ----------------------------------------
// The Latitude and Longitude in decimal format
var CONST_CENTERLAT = 45.0;
var CONST_CENTERLON = 9.0;
CONST_CENTERLAT = 45.0;
CONST_CENTERLON = 9.0;
// The google maps zoom level, 0 - 16, lower is further out
var CONST_ZOOMLVL = 5;
CONST_ZOOMLVL = 5;
// -- Marker settings -------------------------------------
// The default marker color
var MarkerColor = "rgb(127, 127, 127)";
var SelectedColor = "rgb(225, 225, 225)"
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;