I see options to change the color, width, and showing the outline of a polygon from GeoJson, but is it possible to make the outline a dashed line? I’ve been trying to mess around with it but I can’t seem to get it to work with polygons.
Welcome to the Cesium Community @Kevin3811!
There are two ways this can be achieved:
- Create a custom dashed outline fabric material. It is essentially a custom shaded for your outline. For more information on fabric materials, please visit fabric documentation.
- Make the outline a Polyline, as in this example: link to example. The example was created by @kasatik143 in this discussion thread: How to create dashed circle outline? - #3 by Baruch_Levin.
1 Like