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

entity.show not getting applied after setting entity.position #6830

Closed
lilleyse opened this issue Jul 24, 2018 · 1 comment
Closed

entity.show not getting applied after setting entity.position #6830

lilleyse opened this issue Jul 24, 2018 · 1 comment

Comments

@lilleyse
Copy link
Contributor

Sandcastle link

handler.setInputAction(function(movement) {
    entity.show = false;
    entity.position = scene.pickPosition(movement.position);
    window.setTimeout(function() {
        entity.show = true;
    }, 1000);
}, Cesium.ScreenSpaceEventType.LEFT_CLICK);

Setting the show to false seems to have no effect:

show

With the position line removed, there is a 1 second blink as expected.
show1

@hpinkos
Copy link
Contributor

hpinkos commented Jul 24, 2018

@lilleyse as a workaround, use entity.ellipsoid.show instead of entity.show

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