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.
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 ?
yes, I want the widget popup to be hidden when I click on the widgets placeholder icon.
You should look at the Layer Toggle Button Widget Version 2.8 - 07/25/2018 which has no UI just like you are wanting, and see how that source code is structured.
Retrieving data ...