Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Remove FIRMS testing controls from index and layerbuilder

ZachTRice5ed2da5187e4
diff --git a/web/index.html b/web/index.html
index f228c6408..52d1fb0c6 100644
--- a/web/index.html
+++ b/web/index.html
@@ -104,10 +104,8 @@ Licensed under the NASA Open Source Agreement, Version 1.3 (http://opensource.gs
<div id="wv-alerts" class="wv-alerts"></div>
<div id="wv-vector-metadata" class="wv-vector-metadata"></div>
<div class="backdrop"></div>
- <div style="position:absolute;display:block;bottom:250px;right:0;width:200px;height:158px;background-color:#fff;">
+ <div style="position:absolute;display:block;bottom:250px;right:0;width:200px;height:118px;background-color:#fff;">
<strong><center>FIRMS Controls</center></strong><br>
- <input id="confidenceCheckbox" type="checkbox" name="confidenceColors" value="confidence"> Use Confidence Styles?<br>
- <input id="frpCheckbox" type="checkbox" name="frpColors" value="frp"> Use FRP Styles?<br><br>
<section class="range-slider">
<center>Filter by Confidence</center>
<span class="rangeValues"></span>
diff --git a/web/js/map/layerbuilder.js b/web/js/map/layerbuilder.js
index 6c9c341ce..46fdb91a7 100644
--- a/web/js/map/layerbuilder.js
+++ b/web/js/map/layerbuilder.js
@@ -430,15 +430,6 @@ export function mapLayerBuilder(models, config, cache, mapUi, store) {
if (glStyle.name === 'FIRMS') {
setStyleFunction(layer, glStyle, vectorStyleId);
- // FIRMS Style based on Confidence / FRP
- if (document.getElementById('frpCheckbox').checked === true) {
- setStyleFunction(layer, glStyle, vectorStyleId + '_' + 'MODIS_Fire_Points_FRP');
- } else if (document.getElementById('confidenceCheckbox').checked === true) {
- setStyleFunction(layer, glStyle, vectorStyleId + '_' + 'MODIS_Fire_Points_Confidence');
- } else {
- setStyleFunction(layer, glStyle, vectorStyleId);
- }
-
// FIRMS Filters
let confidenceMinFilter = document.getElementById('confidenceMinFilter');
let confidenceMaxFilter = document.getElementById('confidenceMaxFilter');