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;
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.