Scheduled Maintenance
-
February 10, 2026, from 8:00 AM to 9:00 AM PST. Account-related operations might be temporarily unavailable.

Setting up measurements in WebViewer

When creating a new instance of WebViewer, the enableMeasurement property needs to be set to true to display the measurement annotation tools in the UI

JavaScript

1WebViewer({
2 ... // other options
3 enableMeasurement: true
4}, viewerElement);

Besides passing in a constructor option, measurement can be toggled using the WebViewer API with the enableFeatures and disableFeatures functions.

1WebViewer({
2 ... // other options
3}, viewerElement)
4 .then(instance => {
5 instance.UI.enableFeatures([instance.Feature.Measurement]);
6 });

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales