Open chen7012 opened 9 years ago
I resolved the issue by adding a handler for "measure-stat" event. Here is the detail:
added the line of code to _initMeasureTool: function () in Widget.js in the templete:
this.onMeasureStart=this.measureTool.on("measure-start", lang.hitch(this, this._onMeasureStart));
_onMeasureStart: function () {
this._displayChartLocation(-1);
},
Steps to reproduce: 1.click on the measure button 2.click one point, and double click on the map to set the end point for the measure.
Is there a way to clear it?