adding clean polylines to terrain

I'm just starting to mess around with Cesium and it looks like a promising replacement to Google Earth for my purposes. However, when I try to plot a path using polylines over a terrain map, they are very jagged and don't seem to follow the coordinates very well.

see example here:

when I plot the same path using a 2d google map, this is what it looks like:

is there a better method for plotting a path over a terrain map with Cesium?


Nevermind, my sql query was truncating some of my lat lng values.

I'm good now.