Open
Description
maplibre-gl-js version: 5.2.0
browser: Chrome, Safari
Steps to Trigger Behavior
- Add a marker to the map and attach a popup to it.
- Animate the marker continuously across the map.
- Zoom out until the map horizontally repeats (world copy is visible).
Link to Demonstration
https://jsbin.com/totafit/1/edit?html,output
Expected Behavior
The popup moves synchronously with the marker.
Actual Behavior
The popup is displayed separated from the marker by 360 degrees of longitude.

Related Issues
This behavior particularly impacts applications that animate markers for globally-moving objects (e.g., satellites, aircraft), such as react-sat-map, resulting in confusing and incorrect visual representation.