Box entity distorted in ios

12 views
Skip to first unread message

Chris Wang

unread,
Sep 30, 2018, 1:21:28 AM9/30/18
to cesium-dev
1. A concise explanation of the problem you're experiencing.
I drew a box in Sandcastle, but the output looks twisted in ios safari.

ipadbox.jpg



2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.
var viewer = new Cesium.Viewer('cesiumContainer');

var redBox = viewer.entities.add({
    name : 'Red box with black outline',
    position: Cesium.Cartesian3.fromDegrees(-107.0, 40.0, 0.0),
    box : {
        dimensions : new Cesium.Cartesian3(0.2,0.2,1),
        material : Cesium.Color.RED,
        outline : true,
        outlineColor : Cesium.Color.BLACK
    }
});

viewer.zoomTo(redBox);

3. The Cesium version you're using, your operating system and browser.
Cesium 1.49
ios 11
Safari browser

Any help is appreciated.
Thanks

Chris


Omar Shehata

unread,
Oct 1, 2018, 11:02:04 AM10/1/18
to cesium-dev
That is a little bizarre. I'm not sure why off the top of my head it would be distorted like that. I opened a GitHub issue to track this: https://github.com/AnalyticalGraphicsInc/cesium/issues/7100

Feel free to follow the discussion there. I'll post back here once it's been resolved. 
Reply all
Reply to author
Forward
0 new messages