Use Range input for choropleth steps, and limit to 9
This limit comes from ColorBrower sequential color sets, which we use.
This commit is contained in:
parent
82bb017b23
commit
3334db3fa2
1 changed files with 4 additions and 1 deletions
|
@ -207,7 +207,10 @@ L.U.Layer.Choropleth = L.FeatureGroup.extend({
|
||||||
[
|
[
|
||||||
'options.choropleth.steps',
|
'options.choropleth.steps',
|
||||||
{
|
{
|
||||||
handler: 'IntInput',
|
handler: 'Range',
|
||||||
|
min: 3,
|
||||||
|
max: 9,
|
||||||
|
step: 1,
|
||||||
placeholder: L._('Choropleth steps'),
|
placeholder: L._('Choropleth steps'),
|
||||||
helpText: L._('Choropleth steps (default 5)'),
|
helpText: L._('Choropleth steps (default 5)'),
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue