What could cause the map distortion?

Hello dear support.
I am facing something interesting - the map in 2D mode looks rather distorted toward the other map providers - Google, Microsoft and OpenStreetMaps…
It’s somewhat like stretched on the width.

What could cause this distortion, and how to fix it ?

1 Like

Hello,

Cesium might be using a different map projection than the other service you are looking at. By default, Cesium uses a GeographicProjection. You can try changing it to WebMercator like this:

    var viewer = new Cesium.Viewer('cesiumContainer', {
        sceneMode : Cesium.SceneMode.SCENE2D,
        mapProjection: new Cesium.WebMercatorProjection(Cesium.Ellipsoid.WGS84)
    });

Cheers,

Hannah

1 Like

Good lords. It was a constructor option… been experimenting with wrong set seems like.
Thank You very much Hannah !!