Allow to select choropleth property from a list instead of gessing it

This commit is contained in:
Yohan Boniface 2023-06-19 13:20:12 +02:00
parent 6c502c54b4
commit 7b68c52a15

View file

@ -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'),
},