You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: main.js
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,8 @@ const layers = {
86
86
waterbalance_cumulated: "Kumulierte klimatische Wasserbilanz während der Vegetationsperiode bestehend aus den Komponenten Niederschlag, Beregnung und Verdunstung in Liter je Quadratmeter [mm]."
87
87
}
88
88
89
+
varlayerForDataExtraction;
90
+
89
91
for(varnameinlayers){
90
92
console.log(name,layers[name]);
91
93
letsource=newGeoTIFF({
@@ -121,6 +123,9 @@ for (var name in layers) {
121
123
});
122
124
map.addLayer(layer);
123
125
console.log(layer);
126
+
if(name=='precipitation'){
127
+
layerForDataExtraction=layer;
128
+
}
124
129
}
125
130
126
131
addMeasureTool(map);
@@ -130,3 +135,9 @@ const layerSwitcher = new LayerSwitcher({
0 commit comments