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 end points on their route. The route utility service is used to find the route between start and end points.
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 organizational ArcGIS Online account, you can publish a route service and set that as the portal's route utility service.
Route services require the ArcGIS Network Analyst extension. If you are unfamiliar with this extension, see the following topics in the ArcMap help:
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.
- Configure the resultant service as your portal's route utility service by following the applicable instructions in Configure utility services.
Configure a locator service
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, publish a locator (geocode) service and set it as your portal's locator.
- Follow the instructions in Creating an address locator in the ArcMap help to create a locator from your data. If you want to use suggestions in Map Viewer, check the Suggest option on the Create Address Locator tool when you create the locator.
- Publish the locator as a service by right-clicking the locator in the Catalog tree in ArcMap or ArcCatalog and clicking Share As Service.
For more information on publishing a service, see How to publish a service in the ArcGIS Server help.
- If you did not enable suggestions on the locator when you created it, you can enable suggestions on the locator service after it is published. Open the Service Editor for the service in ArcMap or ArcGIS Server Manager, click the Capabilities tab, and check the Suggest operation.
- Configure the resultant service as a locator for your portal. Go to Organization > Settings > Utility Services.