laptop and a wrench

Bug

Measurement widget returns incorrect results in a projected map when a WKID (well-known ID) is passed into a custom extent rather than a WKT (well-known text).

Last Published: May 21, 2019 ArcGIS API for JavaScript
Bug ID Number NIM073034
SubmittedSeptember 22, 2011
Last ModifiedFebruary 14, 2025
Applies toArcGIS API for JavaScript
Version found2.4
Program languageJavaScript
StatusWill Not Be Addressed

Additional Information

No plans to address at unsupported version.

Workaround

Do not define the map extent's spatialReference.wkid as a string, use a number(as per the documentation).Define a WKT spatial reference in your extent, rather than WKID.

Steps to Reproduce

Bug ID: NIM073034

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