codeant-ai-for-open-source[bot] commented on PR #33247:
URL: https://github.com/apache/superset/pull/33247#issuecomment-3930423396
## **Sequence Diagram**
Shows how the new Point Radius controls map from the control panel into the
GeoJsonLayer props, and how getLayer applies deck.gl defaults when form data
lacks the new fields to preserve existing charts.
```mermaid
sequenceDiagram
participant User
participant ControlPanel
participant LayerFactory as getLayer
participant DeckGL as GeoJsonLayer
User->>ControlPanel: Configure Point Radius, Units, Scale (saved in
formData)
ControlPanel-->>LayerFactory: formData with point_radius /
point_radius_units / point_radius_scale
alt New chart (fields present)
LayerFactory->>DeckGL: set getPointRadius = formData.point_radius,
pointRadiusUnits = formData.point_radius_units, pointRadiusScale =
formData.point_radius_scale
else Legacy chart (fields absent)
LayerFactory->>DeckGL: set getPointRadius = 1, pointRadiusUnits =
'meters', pointRadiusScale = formData.point_radius_scale (fallbacks to deck.gl
defaults)
end
DeckGL-->>User: Render points with final radius (value * scale,
respecting units)
```
---
*Generated by [CodeAnt AI](https://codeant.ai)*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]