elove

OnClick Event on Map Breaks Measurement Widget??

Discussion created by elove on Dec 16, 2011
Latest reply on Dec 19, 2011 by khutchins-esristaff
Hello,

I have a map that implements the Identify Task, where a user clicks on a feature and information appears in a datagrid. The problem is that now when I go to measure something using the Measurement Widget, the line being measured does not show up and features are being selected instead of measured. I am sure it has something to do with an OnClick Event, but I am not sure how to differentiate between the two?

Any suggestions would be gretly appreciated!!

[CODEvar measurement = new esri.dijit.Measurement({
            map: map
          }, dojo.byId('measurementDiv'));
           measurement.startup();  
][/CODE]

Outcomes