I have the Near Me widget on a web app, but it only sees a few of the available feature layers in the map. If I group the feature layers, then it can't see them at all and won't let me add them as targets. It also doesn't see some of the ungrouped feature layers. Some of these were uploaded from zipped shapefiles and some were uploaded as web services, it doesn't seem to make a difference. For example I have two feature layers that I uploaded the same way, and they have the same settings, it sees one but not the other. Am I missing something?
Thank you all. I am using ArcGIS Online, and I finally solved the issue. It was related to the visible field in the analysis layer, which should match the one shown in the database when publishing the service, I guess.