When popup template actions are invisible, the menu is still shown with no menu items. I do not want to show menu if it does not have any menu item.
I have attached a sample code.
Markos,
I seems like a bug, but here is the design route that esri suggests:
https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=popup-custom-action
You just set the visibility of an action based on some criteria.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.