Skip to content

Commit

Permalink
Add Range input for heatmap radius
Browse files Browse the repository at this point in the history
  • Loading branch information
yohanboniface committed Oct 5, 2023
1 parent a5c7214 commit 3e54310
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions umap/static/umap/js/umap.layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,11 @@ L.U.Layer.Heat = L.HeatLayer.extend({
[
'options.heat.radius',
{
handler: 'BlurIntInput',
placeholder: L._('Heatmap radius'),
handler: 'Range',
min: 10,
max: 100,
step: 5,
label: L._('Heatmap radius'),
helpText: L._('Override heatmap radius (default 25)'),
},
],
Expand Down

0 comments on commit 3e54310

Please sign in to comment.