From 5ef9bdd6f3c11da322167b5f59bfbe6d244cb810 Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Thu, 2 Jul 2015 15:03:33 +0100 Subject: [PATCH] Make mlat plane markers blue-ish. --- public_html/config.js | 1 + public_html/planeObject.js | 3 +++ 2 files changed, 4 insertions(+) diff --git a/public_html/config.js b/public_html/config.js index 130093e..38de141 100644 --- a/public_html/config.js +++ b/public_html/config.js @@ -19,6 +19,7 @@ CONST_ZOOMLVL = 10; // -- Marker settings ------------------------------------- // The default marker color MarkerColor = "rgb(127, 127, 127)"; +MlatMarkerColor = "rgb(75, 75, 180)"; SelectedColor = "rgb(225, 225, 225)"; // -- Site Settings --------------------------------------- diff --git a/public_html/planeObject.js b/public_html/planeObject.js index 2b5ef8b..0315e5e 100644 --- a/public_html/planeObject.js +++ b/public_html/planeObject.js @@ -54,6 +54,9 @@ var planeObject = { // Should create an icon for us to use on the map... funcGetIcon : function() { + if (this.mlat == true) { + this.markerColor = MlatMarkerColor; + } // If this marker is selected we should make it lighter than the rest. if (this.is_selected == true) { this.markerColor = SelectedColor;