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 Classic 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 Classic.
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 Classic.
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.
Route services require the ArcGIS Network Analyst extension. If you are unfamiliar with this extension, see the following topics in the ArcGIS Pro help:
To configure your own route network analysis service, see Publish routing 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.
Configure a locator service in ArcMap
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.
- Create an address locator in ArcMap using your data. If you want to use suggestions in the Map Viewer Classic, 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 selecting Share As Service.
For more information on publishing a service, see Service publishing in ArcGIS Desktop in the ArcGIS Server help.
- Configure the published service as a locator for your portal. Go to Organization > Settings > Utility Services.