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