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

Support dashed outlines for polygons and other area graphics #12437

Open
jjspace opened this issue Jan 15, 2025 · 0 comments
Open

Support dashed outlines for polygons and other area graphics #12437

jjspace opened this issue Jan 15, 2025 · 0 comments

Comments

@jjspace
Copy link
Contributor

jjspace commented Jan 15, 2025

Feature

From the forum

I would like to draw dashed outlines when using PolygonGraphics, WallGraphics, EllipseGraphics, and RectangleGraphics to draw a shape.
However, I found that Cesium JS currently does not supoprt this feature. Does Cesium have any plans or roadmaps to add this feature in future.

Polylines support dashed materials but Polygons and the other mentioned graphics only support setting the outline color and width. I think it's perfectly reasonable to have more feature parity and add options to control the outline material or at least add a dashed option specifically.

@ggetz pointed out it would probably be possible to achieve this through primitives and custom appearances but would require a fair bit of work and shader understanding.

Side note, this is similar to #6694 in terms of parity between polygon outlines and polylines

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

No branches or pull requests

1 participant