From d9522d9c1fa1d6e66d6f799f5bd101d4a6a42486 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Mon, 9 Oct 2023 14:54:37 +0200 Subject: [PATCH] Add default value to choropleth mode MultiChoice --- umap/static/umap/js/umap.layer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/umap/static/umap/js/umap.layer.js b/umap/static/umap/js/umap.layer.js index d4aafad8..79bd184e 100644 --- a/umap/static/umap/js/umap.layer.js +++ b/umap/static/umap/js/umap.layer.js @@ -219,6 +219,7 @@ L.U.Layer.Choropleth = L.FeatureGroup.extend({ 'options.choropleth.mode', { handler: 'MultiChoice', + default: 'q', choices: [ ['q', L._('quantile')], ['e', L._('equidistant')],