From 7fd905741a086a77c42b28e11ea4cf39f1c1639b Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Mon, 9 Oct 2023 12:43:13 +0200 Subject: [PATCH] Use MultiChoice input for "choropleth mode" --- umap/static/umap/js/umap.layer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/umap/static/umap/js/umap.layer.js b/umap/static/umap/js/umap.layer.js index 21dc85e1..d4aafad8 100644 --- a/umap/static/umap/js/umap.layer.js +++ b/umap/static/umap/js/umap.layer.js @@ -218,14 +218,14 @@ L.U.Layer.Choropleth = L.FeatureGroup.extend({ [ 'options.choropleth.mode', { - handler: 'Select', - selectOptions: [ + handler: 'MultiChoice', + choices: [ ['q', L._('quantile')], ['e', L._('equidistant')], ['l', L._('logarithmic')], ['k', L._('k-mean')], ], - helpText: L._('Choropleth mode'), + label: L._('Choropleth mode'), }, ], ]