outlineWidth member not updating geometry
- Dominant language
- JavaScript
- Stars
- 15.7k
- Forks
- 3.9k
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 34
Description
This issue stems from the following community forum thread: https://community.cesium.com/t/polygon-outline-width-issue/14887
The member `outlineWidth` in `PolygonGraphics` and `BoxGraphics` does not change the width of the lines outlining a geometric shape if it is updated past a value of 10.
For instance, in this image `outlineWidth` is set to 10.

In the following image, `outlineWidth` is set to 100.

Clearly, there is no noticeable difference between the polygons. It is possible that this is a bug. It is also possible that this behavior is expected due to constraints unknown to me. If the latter is true, we should update the documentation.
Here are some sandcastle demos that I put together: [box](https://sandcastle.cesium.com/#c=bZHLbsIwEEV/ZZRVkFInCFClNKCWxw6pEn1tsjHxQCwcG9lOKFT99zoJiEfxwvKM7z3jGVdUQ8VxhxqGIHEHEzS8LMhnk/NTL2viiZKWcok69TpPqUxl5Xwa2Vh9O18LICgttxwNoYz5P6kEkLTAGFJvgQyWTrrjNoeloNkGVGmFA6ZeUAu3yjirkvGp/oRq605U9shKq2KKa41o/Idu9EiiAPpRvfeiepGo0zBcgRiasgCMFyiNA5r4sqsz1e8fvWdKAIMrHkBBLWpOxflVSihNFrMpqTt5Educ+hEZnPTHnmKwusTrXOO84YznH7Nr1RdnNo+hGzXpX7f/HsfdTvigVPGu/Jt51xIv8BJj9wJHLRDgmRdbpS2UWviEhBaLrXD9mHBZZhu0JDONsZYm4aU1YbwCzoZ3/h4yQY1xN6tSiDd+cN83SkKn/2cVijIu168VakH3tSzvjuZtkhCShC6877RKiSXVN+Q/), [polygon](https://sandcastle.cesium.com/#c=bVJRT7MwFP0rDS+yhBSY+sLY4kSjiUYT/fJ9Dx8+VHodjaVdbssmGv+7BcY2p32Bc+85p/dcICuGZCVgDUimRMGaZGBEXdG/Xc0/KjqYaWWZUIBHo0muctWqGCJrMq2Rm+n/OBoH4yiIo+NgHLvHSY/a4tNkj38NYlHaHyp3dtoenOx3drTBTddWuoH+CW7L6WnUTRWGSy2bhW4H7ManoKywAgxlnPsfuSLubDgJ2WBCSgHIsCibZEifMbTujalj+oK6uoAFAph5m8Dfyz0KthZdroRE2wq8Waw58D5x0icZmhWzgILJ3YVaaqRXD5eXd3QtbDmXy5L5ET0drtjkTYhzhe+1TnvgdH47z26+07pVJSQepvjM1Wf/Nbfrete6+qP9g+WNJl7gpcY2EmZDgDNRLTVaUqP0KQ0tVEvpMpnwuS5ewdLCmNa7pabhvjTlYkUEn+bewZ+Ve6SQzBjXeamlfBTvkHuzNHT8H1KpGRdqcb8ClKxpaWU8u+2LlNI0dPB3pdVaPjM8cP4C)
Browser:
Chrome, Firefox
Operating System:
Ubuntu, Windows 10
Contributor guide
Research direction
Reproduce the behavior using the linked Sandcastle box and polygon demos, then inspect the PolygonGraphics and BoxGraphics outlineWidth behavior. Confirm whether changing the value above 10 should alter rendered line width and whether geometry updates accordingly; done means either correcting that behavior or documenting the confirmed constraint.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100