Skip to content

Commit 9d7d021

Browse files
author
gassc
committed
layer fixes
1 parent 070c08b commit 9d7d021

2 files changed

Lines changed: 31 additions & 19 deletions

File tree

core/static/js/bundle.fishfrytable.js

Lines changed: 16 additions & 10 deletions
Large diffs are not rendered by default.

src/js/datatable.js

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ $(function () {
6262
weight: 1.5,
6363
color: '#777777',
6464
opacity: 0.4,
65-
fillColor: '#777777',
66-
fillOpacity: 0.1
65+
// fillColor: '#777777',
66+
fillOpacity: 0
6767
};
6868
},
6969
onEachFeature: function (ft, lyr) {
@@ -99,15 +99,21 @@ $(function () {
9999
style: function (feature) {
100100
if (feature.properties.publish && feature.properties.validated) {
101101
return {
102-
color: "#325D88"
102+
color: "#325D88",
103+
fillColor: "#325D88",
104+
fillOpacity: 0.8
103105
};
104106
} else if (feature.properties.publish || feature.properties.validated) {
105107
return {
106-
color: "#FCB82E"
108+
color: "#FCB82E",
109+
fillColor: "#FCB82E",
110+
opacity: 0.7
107111
};
108112
} else {
109113
return {
110-
color: "#D9534F"
114+
color: "#D9534F",
115+
fillColor: "#D9534F",
116+
opacity: 0.7
111117
};
112118
}
113119
},
@@ -157,10 +163,10 @@ $(function () {
157163
map.on("popupclose", () => onPopupClose());
158164

159165

160-
fishfryLayer.bringToFront();
161-
refChurches.bringToBack();
162-
refMunis.bringToBack();
163-
refWatersheds.bringToBack();
166+
// fishfryLayer.bringToFront();
167+
// refChurches.bringToBack();
168+
// refMunis.bringToBack();
169+
// refWatersheds.bringToBack();
164170

165171

166172
// --------------------------------------

0 commit comments

Comments
 (0)