A customer reports that the Near Me (Beta) widget doesn't work with a custom basemap. The ArcGIS Online organization has configured a custom base map as default for all of their web maps. They developed an app in ArcGIS Experience Builder and included the Near Me (Beta) widget, but the widget loads indefinitely when selecting an area or point. However, the widget works correctly if an Esri base map is selected.
After testing this issue with different custom web maps, it only occurs when the Spatial Reference of the custom web map is different from Esri basemap's spatial reference. The widget can only work with WGS84 Web Mercator Auxiliary Sphere wkid 3857 (102100) as the spatial reference; other coordinate systems will fail. It seems that proximity and distance calculations are fixed for this spatial reference.
I am pretty sure I have made Near Me work based on search results from a geocoder returning state plane coordinates, so I don't think that it's fixed to WGS84. I would suggest looking at all of your data sources and making sure that they are all on the same coordinate system with your basemap. I suspect the issue is some sort of a mismatch between the input data source and the layer that Near Me is querying.
Diana, I had the same experience. The Near Me (Beta) widget from ArcGIS Experience Builder only works on a basemap in spatial reference 102100. It will failed on any basemap in other spatial references (in my case, 102719). Specifically, the widget loads indefinitely. I also filed a ticket with ESRI tech support (case #03405498), but no solution was found.
Our county's basemaps and datasets are all in NAD83 State Plane North Carolina FIPS 3200 (US Feet) (102719). Anyone can use the Experience Builder to create a testing web app to try the Near Me (Beta) widget by using the following public web map which consists of one feature layer (in 102719) and a basemap (in 102719) both accessible to the public.
https://meckgov.maps.arcgis.com/home/item.html?id=840c89e3410e476a89ffbd9e0f10e45a
The attached file shows a test web app I did regarding the widget using the web map above.
Jeffrey, would you like to try your luck using the above web map? Also, I would like to test the Near Me (Beta) widget if you could provide your feature layer and custom basemap which you said the widget worked.
ESRI development team, if you see this post, would you please do a test? Our County's Air Quality Department needs the Near Me widget working correctly on our custom basemap (in 102719) in a web app built using Experience Builder.