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

EllipsoidGraphics' outline width doesn't work #8485

Closed
bbbbx opened this issue Dec 20, 2019 · 1 comment
Closed

EllipsoidGraphics' outline width doesn't work #8485

bbbbx opened this issue Dec 20, 2019 · 1 comment

Comments

@bbbbx
Copy link
Contributor

bbbbx commented Dec 20, 2019

Sandcastle example: Here is the example, one entity's width is 20, and the others is 1, but they look like same, preview:

Screen Shot 2019-12-20 at 20 30 41

I paste the code on below for convenience:

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

var outlineWidth = 20;
var outlineWidth2 = 1;

viewer.entities.add({
    position: Cesium.Cartesian3.fromDegrees(-120.0, 40.0),
    ellipsoid : {
        radii : new Cesium.Cartesian3(200000.0, 200000.0, 200000.0),
        maximumCone : Cesium.Math.PI_OVER_TWO,
        material : Cesium.Color.BLUE.withAlpha(0.3),
        outline : true,
        outlineWidth : outlineWidth
    }
});

viewer.entities.add({
    position: Cesium.Cartesian3.fromDegrees(-110.0, 40.0),
    ellipsoid : {
        radii : new Cesium.Cartesian3(200000.0, 200000.0, 200000.0),
        maximumCone : Cesium.Math.PI_OVER_TWO,
        material : Cesium.Color.BLUE.withAlpha(0.3),
        outline : true,
        outlineWidth : outlineWidth2
    }
});

viewer.zoomTo(viewer.entities);

Did I forget something?

Browser: Google Chrome Version 79.0.3945.79 (Official Build) (64-bit)

Operating System: macOS 10.15

@OmarShehata
Copy link
Contributor

This is a Windows issue, see #4223 (comment).

This will be fixed when we switch to using polylines for all lines in the engine, see #8319.

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

No branches or pull requests

2 participants