From e97e566c42dab7cac178a505078751bfd4ecf628 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 10 Oct 2023 21:58:38 +0200 Subject: [PATCH] Use non full white as left color for default choropleth color scale --- umap/static/umap/js/umap.layer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/static/umap/js/umap.layer.js b/umap/static/umap/js/umap.layer.js index 10ef5cea..5266c848 100644 --- a/umap/static/umap/js/umap.layer.js +++ b/umap/static/umap/js/umap.layer.js @@ -151,7 +151,7 @@ L.U.Layer.Choropleth = L.FeatureGroup.extend({ ) const fillColor = this.datalayer.getOption('fillColor') || this.defaults.fillColor this.options.colors = chroma - .scale(this.datalayer.options.choropleth.brewer || ['white', fillColor]) + .scale(this.datalayer.options.choropleth.brewer || ['#f7f7f7', fillColor]) .colors(this.options.limits.length - 1) },