fix: deck.gl Scatterplot min/max radius (#24363)

This commit is contained in:
Kamil Gabryjelski 2023-06-12 19:51:35 +02:00 committed by GitHub
parent a7f7f6645d
commit c728cdf501
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -83,8 +83,8 @@ export function getLayer(
fp64: true,
getFillColor: d => d.color,
getRadius: d => d.radius,
radiusMinPixels: fd.min_radius || null,
radiusMaxPixels: fd.max_radius || null,
radiusMinPixels: Number(fd.min_radius) || null,
radiusMaxPixels: Number(fd.max_radius) || null,
stroked: false,
...commonLayerProps(
fd,