fix(charts): numerical column for the Point Radius field in mapbox (#36962)

This commit is contained in:
Felipe López
2026-01-29 06:50:10 -03:00
committed by GitHub
parent 7110fc9cde
commit 675a4c7a66
3 changed files with 413 additions and 1 deletions

View File

@@ -90,7 +90,9 @@ export default function transformProps(chartProps) {
setControlValue('viewport_latitude', latitude);
setControlValue('viewport_zoom', zoom);
},
pointRadius: pointRadius === 'Auto' ? DEFAULT_POINT_RADIUS : pointRadius,
// Always use DEFAULT_POINT_RADIUS as the base radius for cluster sizing
// Individual point radii come from geoJSON properties.radius
pointRadius: DEFAULT_POINT_RADIUS,
pointRadiusUnit,
renderWhileDragging,
rgb,