diff --git a/lib/mapviewfuncs.js b/lib/mapviewfuncs.js index 2e54dc60..348c8aaa 100644 --- a/lib/mapviewfuncs.js +++ b/lib/mapviewfuncs.js @@ -116,6 +116,11 @@ function updateConnectionColors() { (highlightScheme == "none")) { highlight = 0; } + if ((highlightScheme == "hidetraveled" && value.TMclinched == 0) || + (highlightScheme == "hideuntraveled" && value.TMclinched == 1) || + (highlightScheme == "hideall")) { + highlight = -0.545454; + } let opacity = 0.3 + 0.55 * highlight; if (colorScheme == "system") { let colors = lookupColors(value.TMminTierColor, diff --git a/lib/tmjsfuncs.js b/lib/tmjsfuncs.js index dadf1e98..caa1a45f 100644 --- a/lib/tmjsfuncs.js +++ b/lib/tmjsfuncs.js @@ -156,6 +156,7 @@ colorCodes[8] = { name: "TMgray", unclinched: "rgb(100,100,100)", clinched: "rgb colorCodes[9] = { name: "TMdarkgreen", unclinched: "rgb(61,94,77)", clinched: "rgb(24,132,70)" }; colorCodes[10] = { name: "TMpurple", unclinched: "rgb(200,130,180)", clinched: "rgb(160,90,140)" }; colorCodes[11] = { name: "TMorange", unclinched: "rgb(255,180,50)", clinched: "rgb(255,165,0)" }; +colorCodes[12] = { name: "TMblack", unclinched: "rgb(150,150,150)", clinched: "rgb(0,0,0)" }; // array of custom color codes to be pulled from query string parameter // "colors=" diff --git a/shields/template_mara_wide4.svg b/shields/template_mara_wide4.svg new file mode 100644 index 00000000..fffe9334 --- /dev/null +++ b/shields/template_mara_wide4.svg @@ -0,0 +1,9 @@ + + \ No newline at end of file diff --git a/shields/template_usatr_seatrl.svg b/shields/template_usatr_seatrl.svg index 78eb5104..a9c5f596 100644 --- a/shields/template_usatr_seatrl.svg +++ b/shields/template_usatr_seatrl.svg @@ -1,63 +1,61 @@ - - \ No newline at end of file + diff --git a/user/mapview.php b/user/mapview.php index db39f69d..8704882e 100644 --- a/user/mapview.php +++ b/user/mapview.php @@ -190,6 +190,9 @@ + + +