We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fc5291 commit 84c3dd0Copy full SHA for 84c3dd0
1 file changed
public/javascripts/countrypagemap_new.js
@@ -98,6 +98,10 @@ $(document).ready(function () {
98
layers: [layer]
99
});
100
$.each(countryMapData, function (i, v) {
101
+ var calculatedOpacity = calculateOpacity(v.extra.budget, maxBudget);
102
+ if (v.extra.id == 'SO') {
103
+ calculatedOpacity = 0
104
+ }
105
var tempMapBorder = {
106
"type": "Feature",
107
"properties": {
@@ -106,7 +110,7 @@ $(document).ready(function () {
110
stroke: true,
111
weight: 1,
108
112
color: "white",
109
- opacity: calculateOpacity(v.extra.budget, maxBudget),
113
+ opacity: calculatedOpacity,
114
fillColor: calculateBrightness(v.extra.budget, maxBudget),
115
fillOpacity: 0.8
116
}
0 commit comments