How to remove the box that appears when I click on the 'browse feature' of a cluster's popup

368
2
Jump to solution
02-21-2024 02:24 AM
fb1
by
New Contributor III

Hi,

i'm looking for a way to remove a box that appears when clicking 'browse feature' of the cluster's popup,

Screenshot 2024-02-21 111406.png

how to recreate the problem :
- click on cluster
- click on 'browse feature' in the cluster popup

Screenshot 2024-02-21 111313.png

Screenshot 2024-02-21 111258.png

this box does not disappear on click out ,
it disappears if I disable the layer or if I click another 'browse feature'.

 

is there even a way to prevent this box from opening ?

 

thanks

0 Kudos
1 Solution

Accepted Solutions
KristianEkenes
Esri Regular Contributor

You can do this by changing the selectedClusterBoundaryFeature symbol.

 

view.popup.viewModel.selectedClusterBoundaryFeature.symbol = {
  type: "simple-fill",
  style: "none",
  outline: null
};

 

Here's an app that demonstrates this: https://codepen.io/kekenes/pen/yLwWJoq?editors=100

View solution in original post

2 Replies
KristianEkenes
Esri Regular Contributor

You can do this by changing the selectedClusterBoundaryFeature symbol.

 

view.popup.viewModel.selectedClusterBoundaryFeature.symbol = {
  type: "simple-fill",
  style: "none",
  outline: null
};

 

Here's an app that demonstrates this: https://codepen.io/kekenes/pen/yLwWJoq?editors=100

fb1
by
New Contributor III

Thank you!

0 Kudos