Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit 8a129569 authored by Joe Alberts's avatar Joe Alberts
Browse files

Disable slider widget

Comments out the slider widget and associated HTML.

To re-enable, remember to also uncomment the HTML container and the require/function calls.
parent c812a68b
......@@ -35,13 +35,13 @@
</div>
<div id="akViewDiv" class="esri-widget"></div>
<div id="hiViewDiv" class="esri-widget"></div>
<div id="infoDiv" class="esri-widget">
<!-- <div id="infoDiv" class="esri-widget">
<div id="infoDescription">
Show where the % that believe the global warming is between:
<span id="sliderHighValue">100</span>% and <span id="sliderLowValue">0</span>%.
</div>
<div id="sliderDiv" class"slider"></div>
</div>
</div> -->
</div>
</div>
</body>
......
......@@ -5,7 +5,7 @@ require([
'esri/Map',
'esri/views/MapView',
'esri/layers/FeatureLayer',
'esri/widgets/Slider',
// 'esri/widgets/Slider',
'esri/widgets/Legend',
'esri/widgets/Home',
'esri/renderers/smartMapping/creators/relationship',
......@@ -20,7 +20,7 @@ require([
Map,
MapView,
FeatureLayer,
Slider,
// Slider,
Legend,
Home,
relationshipRendererCreator,
......@@ -531,8 +531,8 @@ require([
}
// add slider widget
mainView.ui.add("infoDiv", {
// Disabled for now. If re-enabled, uncomment the require and function declarations at the top.
/*mainView.ui.add("infoDiv", {
position: "top-right",
});
......@@ -608,7 +608,7 @@ require([
setMainFeatureLayerViewFilter(filterField + " >= " + sliderLowValue + " AND " + filterField + " <= " + sliderHighValue);
setAKFeatureLayerViewFilter(filterField + " >= " + sliderLowValue + " AND " + filterField + " <= " + sliderHighValue);
setHIFeatureLayerViewFilter(filterField + " >= " + sliderLowValue + " AND " + filterField + " <= " + sliderHighValue);
});
});*/
console.log('complete')
......
Markdown is supported
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