Entity -> PolygonGraphics -> outlineWidth


I am using the following code:

entity.polygon.outlineWidth = new Cesium.ConstantProperty(10);

Once the user clicks on the polygon I have a handler that is executing the following:


When debugging I do see that the value of the ConstantProperty is changing. However, I do not notice any difference on the globe.
Is this a bug or am I not doing something in the correct manner?


Assuming you are on Windows, a detailed to this question is here: http://stackoverflow.com/questions/25394677/how-do-you-change-the-width-on-an-ellipseoutlinegeometry-in-cesium-map

If you’re not on Windows, there is still a maximum outline width (depending on hardware capabilities). You can find this value by going to webglreport.com on any given machine. Since it varies from machine to machine, the Entity layer automatically clamps the value to the available maximum or minimum width.

We also expose the max through Cesium as scene.maximumAliasedLineWidth (doc)