I would like to see the ability to limit user-defined parameters in the Near Me widget. Specifically, I would like to be able to define a maximum search distance, or preferably, create predefined search radii for the user to choose from (ex: 500 feet, 0.5 mile, 1 mile).
In my app, I have a point layer with 150,000+ points. I have it set up so that it is not visible in the map until the user runs the Near Me analysis. However, since they could conceivably run a Near Me analysis using a huge search radius (my data only spans a single county), they could easily cause major performance issues.
I even ran into this issue myself when attempting to switch my 500-foot buffer to a 1-mile buffer. I accidentally switched the feet to miles before changing the 500 to 1, thus inadvertently searching a 500-mile buffer and completely freezing my app.