Select to view content in your preferred language

Modify webmap default popup actions

399
1
08-29-2023 01:03 PM
yegalindo90
New Contributor

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?Captura de pantalla 2023-08-29 150133.png

0 Kudos
1 Reply
TimDietz
New Contributor III

You just need to set the default actions to false:  https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup-PopupViewModel.html....

mapView.popup.viewModel.includeDefaultActions = false;

 

0 Kudos