codeant-ai-for-open-source[bot] commented on PR #38374:
URL: https://github.com/apache/superset/pull/38374#issuecomment-4040626968
## **Sequence Diagram**
This PR wires the MapBox chart controls for opacity and default viewport so
that control changes immediately update the rendered map and map interactions
persist back into the saved controls.
```mermaid
sequenceDiagram
participant User
participant ControlPanel
participant ChartTransform
participant MapBox
participant MapView
User->>ControlPanel: Change opacity or viewport controls
ControlPanel->>ChartTransform: Provide updated form data
ChartTransform->>MapBox: Pass normalized opacity and viewport props
MapBox->>MapView: Apply opacity and viewport to map
MapView-->>User: Show updated map
User->>MapView: Pan or zoom map
MapView->>MapBox: Emit viewport change
MapBox->>ChartTransform: Invoke onViewportChange hook
ChartTransform->>ControlPanel: Update stored viewport controls
```
---
*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]