kingy68/esri-javascript-draw-4

Polyline not removed when draw ends

Closed this issue · 1 comments

Last polyline isn't removed when finish draw. "currentGraphic" is undefined. Problem is that currentGraphic is re-declared in draw-end handler - removing var there fixes it.

Thanks. Merged in your updates.