Greetings,
My team is using the Professional Developer Subscription and we are primarily developing using the Java Maps SDK. We are trying to get the ClosestFacility functionality to work. We can get the immediate example Closest Facility Example to work using the sample server. However, when we try to hit the same server using different points it does not work. The example is given using a "sample server" but it not apparent how to hit the "proper" server to use this location service.
The documentation for ClosestFacilityTask states:
"To solve closest facilities using an ArcGIS Network Analyst service hosted on ArcGIS Online or on-premises with ArcGIS for Server, create a ClosestFacilityTask by passing in the URL of the service to the ClosestFacilityTask(String) constructor. "
I have two questions--
- Where can one find the Network Analyst hosted on ArcGISOnline? (Is this something we need to host ourselves? If so, could someone point me to the documentation to do so?)
- Does the Professional Developer license include the ClosestFacility functionality?
Thank you!
Jared