I am adding polygons in CesiumJS, but the polygon outline is not visible even when outline: true and outlineColor are set.Currently, I am drawing a separate polyline along the polygon boundary to show the outline.
My question is:
Is this the recommended approach?
Is there any other way to render polygon outlines without using a polyline overlay?
Thanks in advance.
Hi @Rohan1102,
Thanks for your post and welcome to the Cesium community.
We have an example of plotting polygons in scene here in our sandcastle tool Sandcastle | CesiumJS
Do those examples apply to your use case? Or are you trying to do other things too (eg. draping on terrain, etc.)? If so, it would be great if you could describe your problem in more detail and provide a sandcastle with sample code.
Thank you!
Luke