Description
The ColumnLayer columns with pixel radius are larger than expected and does not stay the same size while zooming.
Flavors
Expected Behavior
Expected behavior is to follow the unit spec for pixels.
Steps to Reproduce
Use the ColumnLayer codepen and change the radiusUnits to 'pixels'.
Suggested solution:
Add the following lines to column-layer-vertex.glsl.ts at line 67 (just after the UNIT_METERS check)
else if (column.radiusUnits == UNIT_PIXELS) { offset = project_pixel_size(offset); }
Environment
- Framework version: deck.gl@9.2.2
- Browser: Edge 144.0.3719.82
- OS: Windows 11
Note: same result on Android 16
Logs
No response