laptop and a wrench

Bug

When the unit and unitOptions parameters are set in the constructor of the Measurement in 2D widget, the error message, "TypeError: Cannot read property 'center' of null" is returned in the console.

Last Published: October 7, 2019 ArcGIS API for JavaScript
Bug ID Number BUG-000124479
SubmittedAugust 13, 2019
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found4.12
Operating SystemN/A
Operating System VersionN/A
StatusNon-Reproducible

Additional Information

This is fixed in soon-to-be-released ArcGIS API for JavaScript 4.13.

Steps to Reproduce

Bug ID: BUG-000124479

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options