Use MultiChoice input for "choropleth mode"

This commit is contained in:
Yohan Boniface 2023-10-09 12:43:13 +02:00
parent 3334db3fa2
commit 7fd905741a

View file

@ -218,14 +218,14 @@ L.U.Layer.Choropleth = L.FeatureGroup.extend({
[ [
'options.choropleth.mode', 'options.choropleth.mode',
{ {
handler: 'Select', handler: 'MultiChoice',
selectOptions: [ choices: [
['q', L._('quantile')], ['q', L._('quantile')],
['e', L._('equidistant')], ['e', L._('equidistant')],
['l', L._('logarithmic')], ['l', L._('logarithmic')],
['k', L._('k-mean')], ['k', L._('k-mean')],
], ],
helpText: L._('Choropleth mode'), label: L._('Choropleth mode'),
}, },
], ],
] ]