how to get all the lat longs between two points?

I want to find the lat,long,elevation between two points. Is it possible to find the values… Can anyone give some example…

Have you checked out this answer?

The solution there is written in Python but you should be able to implement the same thing in Javascript with Cesium’s Cartographic class.

Cesium already has a function for this, PolylinePipeline.generateArc I’m not sure why it’s private but you can always make a local copy of the code so your version doesn’t change: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Core/PolylinePipeline.js#L222