codeant-ai-for-open-source[bot] commented on PR #38374:
URL: https://github.com/apache/superset/pull/38374#issuecomment-4043007188
## **Sequence Diagram**
This PR wires MapBox opacity and viewport controls into the render path so
control changes immediately update the map without re-running the query. It
also adds viewport sync behavior that applies explicit longitude latitude zoom
values, and restores fit-to-data behavior when those fields are cleared.
```mermaid
sequenceDiagram
participant User
participant ControlPanel
participant TransformProps
participant MapBox
participant MapView
User->>ControlPanel: Change opacity or viewport fields
ControlPanel->>TransformProps: Trigger render with updated form data
TransformProps->>MapBox: Pass normalized opacity and viewport props
alt Viewport props are set
MapBox->>MapView: Update map to provided longitude latitude and zoom
else Viewport props are cleared
MapBox->>MapBox: Recompute viewport from data bounds
MapBox->>MapView: Apply fit bounds viewport
end
MapView-->>User: Map refreshes immediately with new settings
```
---
*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]