From 7b68c52a156942ee0903bf0ab42a42bd7c7ae850 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Mon, 19 Jun 2023 13:20:12 +0200 Subject: [PATCH] Allow to select choropleth property from a list instead of gessing it --- umap/static/umap/js/umap.layer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/umap/static/umap/js/umap.layer.js b/umap/static/umap/js/umap.layer.js index 1adae247..eda199a6 100644 --- a/umap/static/umap/js/umap.layer.js +++ b/umap/static/umap/js/umap.layer.js @@ -190,7 +190,8 @@ L.U.Layer.Choropleth = L.FeatureGroup.extend({ [ 'options.choropleth.property', { - handler: 'BlurInput', + handler: 'Select', + selectOptions: this.datalayer._propertiesIndex, placeholder: L._('Choropleth property value'), helpText: L._('Choropleth property value'), },