Closed jharcum closed 2 years ago
Use "drop = FALSE" inside of scale_fill_brewer() in server.R when creating/updating range map.
Side by Side
baseline | current |
FULL IMAGES
Update in development branch. Can close once review and then merge in to main branch.
Confirmed the dynamic (leaflet) map works fine (shows all 8 categories) for current mean.
Baseline
Current
Describe the bug If bins are specified for the range map, then all bins should be assigned a color. This will facilitate comparison of range maps for two different time periods.
To Reproduce Steps to reproduce the behavior:
Issue Notice the difference in the legend. since current mean max value is <3, the last two bins 3-5 and 5-8 are not shown; however, the 2-3 bin takes on the darkest color (same as baseline mean of 5-8). So this makes a visual comparison more difficult.
Desired behavior If user specifies bins then display all specified bins even if there are no observations
Screenshots