-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
What happened?
Have loaded a KMZ file that contains an image that covers the whole world. This is an animated KMZ file, containing multiple images to show cloud cover over certain times. This works perfect on the 3D globe. But on the 2D View there is a huge gap at the 180.
As you can see, the KML image is missing for a large section of map around the 180.
Unfortunately, for our particular case, we need to use the 2D View and we also will be working in the affected area. Gap stays the same when zooming in, but reduces in size when panning left or right.
I have tried setting different options when loading the KML, such as ClampToGround, to no avail. I have tried loading the KML via code, and also dragging the KML onto the map, same results.
I have a attached a sample KMZ file with a single image that will show the issue.
Reproduction steps
- Load the KML
- Toggle between 3D View and 2D View
- 2D View has a large gap
- Have included a zip file containing a kmz to demonstrate the problem
...
Sandcastle example
import * as Cesium from "cesium";
const viewer = new Cesium.Viewer("cesiumContainer");
viewer.extend(Cesium.viewerDragDropMixin, {clearOnDrop : false});
viewer.dropError.addEventListener(function(viewerArg, source, error) {
window.alert('Error processing ' + source + ':' + error);
});
Environment
Browser: Google Chrome, Mozilla Firefox
CesiumJS Version: 1.137
Operating System: Windows 11

