AnsweredAssumed Answered

About ESRI’ s drawing widget

Question asked by zhouleizhou on May 5, 2016
Latest reply on May 10, 2016 by zhouleizhou

Once the drawing widget is open, even without doing anything, a layer will be added to the operational list in the Layer List widget. But I don’t want this layer to add if a user does nothing; I only want this result layer added when a user draws something in the widget. Can we adjust something here? I found a function that should control this, called  _pushAddOperation: function(graphics){ ….} in line 844 at the widget.js   But have no clue how to change it. Thanks!

Outcomes