Select to view content in your preferred language

Near Me Widget for Only Visible Layers

182
1
01-27-2026 06:45 AM
McKinneyPatrick_PA
Occasional Contributor

I am looking to create a custom widget, or learn of built-in functions to get a working Near Me widget that functions similar to how the Web AppBuilder version did.  Specifically, to only perform the analysis on layers that are visible on the map.

Does anyone have any tips or leads?  Any help is appreciated.

Thanks,

Patrick

0 Kudos
1 Reply
JeffreyThompson2
MVP Frequent Contributor

In the Map Widget, create an Extent Changes > Data > Filter Data Records Action. You may want to make a Dataview for this and not use the Default Dataview. Then, set the Dataview in Near Me to the filtered Dataview. This should prevent Near Me from finding any results outside the map area.

GIS Developer
City of Arlington, Texas
0 Kudos