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

Polylines with height don't show up in rotatable 2D mode #4620

Open
hpinkos opened this issue Nov 7, 2016 · 5 comments
Open

Polylines with height don't show up in rotatable 2D mode #4620

hpinkos opened this issue Nov 7, 2016 · 5 comments

Comments

@hpinkos
Copy link
Contributor

hpinkos commented Nov 7, 2016

This polyline doesn't show up on the globe. If you remove the height, or change to regular 2D mode, it shows up fine.

var viewer = new Cesium.Viewer('cesiumContainer', {
     sceneMode: Cesium.SceneMode.SCENE2D, 
     mapMode2D : Cesium.MapMode2D.ROTATE
});

var orangeOutlined = viewer.entities.add({
    polyline : {
        positions : Cesium.Cartesian3.fromDegreesArrayHeights([-75, 39, 250000,
                                                               -125, 39, 250000]),
        width : 5
    }
});

viewer.zoomTo(viewer.entities);
@hpinkos
Copy link
Contributor Author

hpinkos commented Nov 7, 2016

Found when investigating #4619

@pjcozzi
Copy link
Contributor

pjcozzi commented Dec 20, 2016

This is the same or similar issue as the oldest open issue in the repo, #94.

@krheinwald
Copy link

Is there any chance this will get tackled sometime?

@hpinkos
Copy link
Contributor Author

hpinkos commented Nov 15, 2017

Hi @krheinwald, sorry, but we haven't had a chance to look into it yet. We're happy to review a pull request if anyone has a chance to submit a fix though!

@ggetz
Copy link
Contributor

ggetz commented Jan 31, 2025

Also reported in #12435.

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

4 participants