I added a new widget and customized it per my requirement.How to hide a widget on a map? I want the widget display to be none all the time and not show the popup window when I clicked on it.
Thank you!
How to hide a widget on a map?
So are you asking how to make a widget that does not have a user interface?
I want the widget display to be none all the time and not show the popup window when I clicked on it
When you click on what the map or the widgets placeholder icon?
Yes, How to hide a widget that does not have an user interface ?
When you click on what the map or the widgets placeholder icon?
yes, I want the widget popup to be hidden when I click on the widgets placeholder icon.
esri user,
You should look at the https://community.esri.com/docs/DOC-8592-layer-toggle-button-widget-version-22-01132017 which has no UI just like you are wanting, and see how that source code is structured.