Select to view content in your preferred language

Turn off layer when delete near me results

519
6
02-05-2025 06:25 AM
Labels (1)
AlessioDiLorenzo
Regular Contributor

Hi, 

I’m working with the experience builder in arcgis online and I’m trying to figure out how to achieve the following:

I want the user select a location on the map and get back as a result the features of a feature layer that are in a certain buffer distance from the location. For this I use the Near me widget and it works well except for an (important, for me) aspect: I want the analyzed layer automatically turn off when the user clear the proximity analysis result! Is this possible in some way? I can start the application with the layer not showing and make it appear after the proximity analysis, but it remains on the map when I clear the results and is not good for my purposes.

Thanks in advance

0 Kudos
6 Replies
Ke_Xu
by Esri Regular Contributor
Esri Regular Contributor

Hi @AlessioDiLorenzo,

near me.gif

Is this the desired result?

 

Thanks,

Ke

0 Kudos
AlessioDiLorenzo
Regular Contributor

Hi @Ke_Xu and thanks for the answer. 

Not really.

I need to actually turn on the filtered layer and see the features on the map when the widgets results are returned. Then, when the user delete the results the layer has to turn off by itself instead of remaining (not filtered) on the map. 

May be in your example the filtered features are just highlighted but the layer is hidden and stays in this state when the widget proximity analys is performed. Is this the case?

Thank you

0 Kudos
Ke_Xu
by Esri Regular Contributor
Esri Regular Contributor

Hi @AlessioDiLorenzo,

ExB does not currently support this now. 

You can submit this issue on the ArcGIS Experience Builder Ideas board.

Thanks,

Ke

0 Kudos
AlessioDiLorenzo
Regular Contributor

Hi @Ke_Xu,

In my experience this is a very common requirement for webgis applications.

It would be great if this functionality will be added to ExB.

The query widget works almost like this, but it is focused on attributes. In this case it would be enough to add the configuration options for visualizing all the retrieved features (not paginated) and the buffer graphics on the map.

Bye

0 Kudos
AzizaParveen1
Esri Contributor

@AlessioDiLorenzo we will look into your enhancement request for Near me.

AlessioDiLorenzo
Regular Contributor

@AzizaParveen1 thanks! Great news 🙂

0 Kudos