How to hide a widget popup window on the map?

1032
3
06-02-2017 11:05 AM
esriuser2
New Contributor II


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!

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus
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?

0 Kudos
esriuser2
New Contributor II

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.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

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.

0 Kudos