Use non full white as left color for default choropleth color scale
This commit is contained in:
parent
bcd9b1ac04
commit
e97e566c42
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ L.U.Layer.Choropleth = L.FeatureGroup.extend({
|
||||||
)
|
)
|
||||||
const fillColor = this.datalayer.getOption('fillColor') || this.defaults.fillColor
|
const fillColor = this.datalayer.getOption('fillColor') || this.defaults.fillColor
|
||||||
this.options.colors = chroma
|
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)
|
.colors(this.options.limits.length - 1)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue