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;
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.