Map scale, distance in meters

I’m using the latest cesium 1.19 with sceneMode: Cesium.SceneMode.COLUMBUS_VIEW and I would like to a little scale like the screenshot attached which google maps also has.

What I have found is this: which does a good job as long as North and South is up and down. When the map turns the scale value changes to some unrealistic value.

Does anyone know another way of doing this? It doesn’t need to be 100% accurate as its only needed to get a more or less understanding of distance! So curvature of earth for instance isn’t needed I think.

Screen Shot 2016-03-15 at 14.20.39.png


I don’t know of any better implementation of this. I believe alberto-acevedo’s implementation is based on the widget from TerriaJS:

It works great in 3D. You can try to modify that code so it works how you want it to in columbus view.



Is there an update to this? The link provided does not work.