I am having an issue with the Measure Widget in my application after updating to 3.11. The widget does not appear after the application loads. I have checked my code and do not see an issue, also when reverting back to 3.10 it works correctly.

Has anyone else had this issue after updating to 3.11?

measurement = new Measurement({
    map: map

The widget is actually working, but the "esriMeasurementButtonPane" is not being parsed. See screenshot below:



I figured out the issue was with the buttons content pane being registered twice. I assume this was due to a parsing issue. I changed parseOnLoad:true to false and manually parsed the data onload. This resolved the issue.


I noticed this from the "What's new in Version 3.11" tab.

  • New methods getTool and getUnit on Measurement class.
  • New events measure-start and measure on Measurement class.
  • Updated event measure-end on Measurement.
  • New events tool-change and unit-change on Measurement class.

Measurement widget enhancements:

New developer events and methods to support interacting with geometries during the life cycle of the Measurement widget, accessing the current tool, and current units. Fixed issues for developers when using the Measurement widget in applications and services containing coordinate systems other than WGS84 and Web Mercator.

It appears the code needs updating


I just wanted to share that I was having a similar issue, except no tool buttons were showing. When I removed "compact" from the following: <script type="text/javascript" src="http://js.arcgis.com/3.11compact/"></script>it works as expected.

  • 1
    Thanks for the update, it turns out the reason it was not being displayed was because it was not being parsed. Once the parsing was done manually it has been resolved. – Jeremy Hamm Oct 9 '14 at 20:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.