Getting Error when using Cesium.MeasureUnits()

Dear all,
I am new for Cesium, i trying to get the measurement units from cesium for this i am using following code.


var units = new Cesium.MeasureUnits();

and i am getting below error.

“Cesium.MeasureUnits is not a Constructor”

please any one tell me how to clear this issue.

Thanks & Regards,
Karthik Mahalingam.

Welcome to the Cesium community @Karthik_M!

The measurements are not part of the open source CesiumJS. They are available on Cesium ion, using Cesium Stories (see So if you just need to make some distance/height/area measurements, you can upload your data to Cesium ion and use it there.

Let me know if that works for you!