Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot set show: false for ground polyline entity #6912

Closed
hpinkos opened this issue Aug 13, 2018 · 1 comment
Closed

Cannot set show: false for ground polyline entity #6912

hpinkos opened this issue Aug 13, 2018 · 1 comment

Comments

@hpinkos
Copy link
Contributor

hpinkos commented Aug 13, 2018

Setting polyline.show = false results in a crash.

var viewer = new Cesium.Viewer('cesiumContainer');

var entity = viewer.entities.add({
    polyline : {
        positions : Cesium.Cartesian3.fromDegreesArray([-75, 35,
                                                        -125, 35]),
        width : 5,
        material : Cesium.Color.RED,
        clampToGround : true
    }
});

Sandcastle.addToolbarButton('Show false', function() {
    entity.polyline.show = false;
});

viewer.zoomTo(viewer.entities);

@likangning93

@mramato
Copy link
Member

mramato commented Aug 14, 2018

I changed this to next release because it's a pretty blatant bug for a commonly used feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants