SingleTileImageryProvider fails to display image when extent crosses crosses 180 meridian

I was trying to display a weather radar image for the West Pacific. It does not show up on map and does not generate an error. I can plot it if I pinch in my eastern longitiude from -166 to 180.

Sample code:

var imageryProvider = new Cesium.SingleTileImageryProvider({
url : ‘./Images/jpeg/myImage.jpg’,
extent : new Cesium.Extent(
Cesium.Math.toRadians(87),
Cesium.Math.toRadians(-21),
Cesium.Math.toRadians(-166),
Cesium.Math.toRadians(67))});

Is there a work-around for this?

Hi,

Your best bet is probably to separate your layer into two images, one on each side of the date line. Cesium currently isn’t a fan of extents that cross the date line. I’m not sure offhand how difficult this would be to fix.

Kevin