You can configure your portal to get directions between destinations specified in a portal map—a useful piece of functionality if your portal members need to find routes for such things as delivering or picking up packages or customers.
The Directions functionality in Map Viewer relies on the portal's route and geocode utility services. The portal's geocode utility service is used to locate the addresses or place-names your portal members input for start and endpoints on their route. The route utility service is used to find the route between start and endpoints.
As the portal administrator, you must configure a route utility service to make this functionality available. If you do not set a route utility service, the Directions button will not be present in Map Viewer.
The portal uses the ArcGIS World Geocoding Service hosted in ArcGIS Online by default, but you can configure other locators. You would do this if your organization has its own locator data to use for finding the addresses and places portal members submit to the portal for directions. Or, if your portal does not have access to the default ArcGIS World Geocoding Service, you must configure a locator (geocoding utility service); otherwise, portal members will not be able to get directions in the portal map.
Enable Suggest capabilities on your custom locator if you want address or place-name suggestions to appear when users search in Map Viewer.
Configure a route utility service
You can either use an ArcGIS Online route service or your own network analysis service for the route utility service.
Use an ArcGIS Online route service
If you have an ArcGIS Online organizational account, you can configure the portal to use an ArcGIS Online route service.
Follow the steps in the If the service is not from a federated server and requires credentials section of Configure utility services to add the service as an item to the portal and specify it as the route utility service.
Use your own network analysis service
If you do not have an ArcGIS Online organizational account, you can publish a route service and set that as the portal's route utility service.
The following steps summarize what you must do to configure your own route network analysis service:
- Create a route network analysis layer and publish it as a service.
Follow the instructions in the Create the map document and Publish the network analysis service sections of Tutorial: Publish a network analysis service, using your own network dataset rather than the tutorial data.
- Configure the resultant service as your portal's route utility service by following the applicable instructions in Configure utility services.
Configure a locator service in ArcGIS Pro
ArcGIS Enterprise portals use the ArcGIS World Geocoding Service hosted in ArcGIS Online by default. If your organization has its own locator data to use for finding addresses and place-names, or if your portal does not have access to ArcGIS Online, share a locator as an item to your portal and set it as your portal's locator service.
- Create a locator in ArcGIS Pro using your data.
- Share a locator from ArcGIS Pro and configure the properties of the locator service in ArcGIS Pro.
- Configure the shared locator for your organization. Go to Organization > Settings > Utility Services.