diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/fixmystreet/density-map.js | 3 | ||||
-rw-r--r-- | web/cobrands/sass/_base.scss | 6 | ||||
-rw-r--r-- | web/cobrands/tfl/assets.js | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/web/cobrands/fixmystreet/density-map.js b/web/cobrands/fixmystreet/density-map.js index 9febf66d7..601e6cdca 100644 --- a/web/cobrands/fixmystreet/density-map.js +++ b/web/cobrands/fixmystreet/density-map.js @@ -55,9 +55,11 @@ $(function(){ $('#heatmap_yes').on('click', function() { fixmystreet.markers.setVisibility(false); heat_layer.setVisibility(true); + $(fixmystreet.map.div).addClass("heatmap-active"); }); $('#heatmap_no').on('click', function() { + $(fixmystreet.map.div).removeClass("heatmap-active"); heat_layer.setVisibility(false); fixmystreet.markers.setVisibility(true); }); @@ -65,6 +67,7 @@ $(function(){ if (heatmap_on) { fixmystreet.markers.setVisibility(false); heat_layer.setVisibility(true); + $(fixmystreet.map.div).addClass("heatmap-active"); } $('#sort').closest('.report-list-filters').hide(); diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss index ced554249..6f1aba817 100644 --- a/web/cobrands/sass/_base.scss +++ b/web/cobrands/sass/_base.scss @@ -1683,6 +1683,12 @@ input.final-submit { height: 100%; // Needs to be position:absolute for the mobile banners to show on top position: absolute; + + &.heatmap-active { + .olLayerGrid, .olBackBuffer { + filter: grayscale(0.75); + } + } } } diff --git a/web/cobrands/tfl/assets.js b/web/cobrands/tfl/assets.js index 15a0f4933..ccfaad321 100644 --- a/web/cobrands/tfl/assets.js +++ b/web/cobrands/tfl/assets.js @@ -72,6 +72,7 @@ var tlrn_categories = [ "Scaffolding blocking carriageway or footway", "Single Light out (street light)", "Standing water", + "Street Light - Equipment damaged, pole leaning", "Unstable hoardings", "Unstable scaffolding", "Worn out road markings" |