Commit a3beefff authored by Joseph Alberts's avatar Joseph Alberts
Browse files

Filter mainView

Got it filtering with a single thumb on the mainView.
parent 7f2c79d6
......@@ -316,7 +316,7 @@ require([
position: "top-right",
});
// view.whenLayerView(layer).then(function(layerView) {
mainView.whenLayerView(layer).then(function(layerView) {
const filterField = "happening";
......@@ -325,7 +325,7 @@ require([
min: 0,
max: 100,
steps: 5,
values: [ 100, 0 ],
values: [ 100 ],
visibleElements: {
// labels: true,
rangeLabels: true
......@@ -348,7 +348,7 @@ require([
// labelsVisible: true,
// }];
// const sliderValue = document.getElementById("sliderValue");
const sliderValue = document.getElementById("sliderValue");
// filter features by belief happening
......@@ -358,7 +358,7 @@ require([
where: filterField + " <= " + event.value
};
});
// });
});
console.log("complete")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment