AnsweredAssumed Answered

How to hide a sketch widget on an Esri Map?

Question asked by siyakubeka on Jul 2, 2020
Latest reply on Jul 4, 2020 by EPolle_TensingInternational

Hi All


I have a map that has a sketch widget. Now I want to hide that sketch widget if a certain variable contains data and only show the map. But if that certain variable is null or empty I want  the map to show the sketch widget. I am using JavaScript. I hope this question does make sense. Please advise.


Kind Regards

Siyabonga Kubeka