Add Range input for heatmap radius

This commit is contained in:
Yohan Boniface 2023-10-05 17:36:07 +02:00
parent a5c7214533
commit 3e54310c8d

View file

@ -161,8 +161,11 @@ L.U.Layer.Heat = L.HeatLayer.extend({
[ [
'options.heat.radius', 'options.heat.radius',
{ {
handler: 'BlurIntInput', handler: 'Range',
placeholder: L._('Heatmap radius'), min: 10,
max: 100,
step: 5,
label: L._('Heatmap radius'),
helpText: L._('Override heatmap radius (default 25)'), helpText: L._('Override heatmap radius (default 25)'),
}, },
], ],