Custom material for drawing a polyline


I am trying to create a custom material for drawing a polyline.
My target is creating a polyline with some positions, and only to show the positions on the screen (without the line between them), and need to show the positions as dots on the map.

any ideas?

I am pretty new to Materials and shaders.


This is a much harder problem than it sounds, which is why we don’t have out of the box support for it yet. Check out this issue for some useful links:

You can also read more about Cesium’s current polyline rendering approach here: