I am trying to build an app that will find the nearest hospital to a certain location and then get directions from that location to the hospital. I have a Web Map that contains all of the Canadian hospitals and I am using that for my Web App. I am using the Add Data widget to add the location point. Then I am using the Analysis widget (Find Nearest); however the newly added layer does not show up in the layers list for the Analysis widget. Is there some way of adding the point so that it usable by the Analysis widget? The point is constantly changing based on the location of the job/crew, so having a Web Map that contains the location point is not an option.
Hi Cameron -
Thanks for asking your questions and welcome to the GeoNet community! I wanted to let you know that we're moving your question to the https://community.esri.com/community/gis/analysis?sr=search&searchId=81e41e30-07a7-4be5-92e6-af789c2... space so our Esri and user subject matter experts can further help answer this and future questions. So you're aware on how and where to post your questions, here's a few quick tips and reminders:
Thanks again for contributing and I hope this helps and let us know if you have any questions.