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.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.