We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84c3dd0 commit 746e570Copy full SHA for 746e570
1 file changed
public/javascripts/countrypagemap_new.js
@@ -99,9 +99,12 @@ $(document).ready(function () {
99
});
100
$.each(countryMapData, function (i, v) {
101
var calculatedOpacity = calculateOpacity(v.extra.budget, maxBudget);
102
+ var fOpacity = 0.8;
103
if (v.extra.id == 'SO') {
- calculatedOpacity = 0
104
+ calculatedOpacity = 0;
105
+ fOpacity = 0;
106
}
107
+
108
var tempMapBorder = {
109
"type": "Feature",
110
"properties": {
@@ -112,7 +115,7 @@ $(document).ready(function () {
112
115
color: "white",
113
116
opacity: calculatedOpacity,
114
117
fillColor: calculateBrightness(v.extra.budget, maxBudget),
- fillOpacity: 0.8
118
+ fillOpacity: fOpacity
119
120
},
121
"geometry": {
0 commit comments