Measure Widget Issue - ArcGIS Javascript API 3.11

3267
11
Jump to solution
10-07-2014 09:50 AM
by Anonymous User
Not applicable

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 
}, dom.byId("measure_results")); 
measurement.startup();
0 Kudos
11 Replies
JonathanUihlein
Esri Regular Contributor

For the most part, this only happens when the parser is called at the wrong time.

0 Kudos
JoshHevenor
Occasional Contributor II

Thanks Jonathan,

It turns out that this tool uses the map.graphics layer to draw its markers, etc. I had a click handler on that layer that was interfering so I moved all my stuff to my own graphics layer and the measure tool works fine now.

0 Kudos