Hi guys!
I have a quite simple question. Is it possible to specify a width of outline of the ellipse in CZML? I want to draw a circle on the Earth’s surface and ellipse suits for this purpose. I specify:
“outline”: true,
“outlineColor”: {
"rgba": [255, 255, 255, 255]
},
“fill”: false
Unfortunately, I didn’t find a way to specify the width. I know I could use polyline with a number of points but seems that it’s not a good idea the circle.
Unfortunately CZML doesn’t have the option at this time. That being said, this is high on my to-do list and I actually expect to have it done by the end of this week (which means it will be in the Nov 1st release). I’ll update this message as soon as the code is ready to go into master.
The bigger problem is that outline width will only work on non-Windows systems; see this StackOverflow write-up I did as to why: http://stackoverflow.com/a/25405483/3191039
Hi, Matthew!
Thanks for the reply and StackOverflow reference. Hope you get some workaround for Windows platform and it will be available soon. Waiting for details on implementation…
For non-outline polylines, we have a rather detailed blog post here: http://cesiumjs.org/2013/04/22/Robust-Polyline-Rendering-with-WebGL/
According to Dan, using the same implementation to support outlined geometry is not practical, but perhaps he or Patrick can explain why (I personally don’t know the answer.)
Unfortunately, I believe geometry outlines will be limited to a width of 1 on Windows for the foreseeable future. The ANGLE issue is closed as WontFix and is unlikely to be reopened: https://code.google.com/p/angleproject/issues/detail?id=119