codeant-ai-for-open-source[bot] commented on PR #38374:
URL: https://github.com/apache/superset/pull/38374#issuecomment-4035253032
## **Sequence Diagram**
This PR makes the MapBox chart react immediately to opacity and viewport
control changes and keeps the viewport controls in sync with user panning and
zooming on the map.
```mermaid
sequenceDiagram
participant User
participant Controls
participant Chart
participant MapBox
participant MapView
User->>Controls: Change opacity or viewport values
Controls->>Chart: Trigger rerender with updated form data
Chart->>MapBox: Build props with normalized opacity and viewport
MapBox->>MapView: Render map with new opacity and viewport
User->>MapView: Pan or zoom map
MapView->>MapBox: Emit viewport change
MapBox->>Chart: Call onViewportChange with new viewport
Chart->>Controls: Update viewport control values
```
---
*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]