Hi, I am trying to remove the default "zoom to" action from the popup on a webmap that i am using as source in an experience builder proyect so the popup container will be smaller. How can I do it?
You just need to set the default actions to false: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup-PopupViewModel.html#includeDefaultActions.
mapView.popup.viewModel.includeDefaultActions = false;
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.