In this topic
If the Directions button is not present in the map viewer, your portal has not been configured to view directions. Contact your portal administrator if you need this functionality.
You can use the map viewer to get a set of turn-by-turn driving or walking directions. Direction options include return to start and optimize the order. Once you get directions, you can zoom to the full route, print the directions, and add the route as a layer to your map.
- Sign in to the portal and open the map viewer.
- Click Directions to display the Directions pane to the left of the map.
- Get directions by adding the following information:
- Enter the origin in the A field .
- Enter the destination in the B field .
- To reorder the origin and destination, click Reverse Directions . Reverse Directions only appears if you have an origin and one destination.
- To add additional destinations, click Add destination and enter an address in the new field. You can also add destinations from pop-ups with location information such as points from feature layers and addresses and places you find with the geocoder at the top of the map viewer. Your route can have up to 49 destinations (and an origin).
- If you have an origin and three or more destinations and want the map viewer to optimize your route, click Show more options and check Optimize order. The middle destinations are optimized; the origin and final destination are not reordered.
- For feature layers with 50 points or less, you can use Route to all Features in the layer menu to add the points as the origin and destinations for directions. Optimize order is enabled by default. If the layer includes a Sequence field, Optimize order is disabled and the points are ordered based on this field (the field isn't used if you enable Optimize order). Feature collections, GeoRSS point features, and ArcGIS Server and hosted feature layers with 50 points or less drawn on the map are supported.
- To reorder a route with an origin and two or more destinations, click and drag the letter buttons (for example, ) in the order you want.
- To change travel modes, click By Car, By Truck, or Walking. Truck mode uses roads that are designated as truck routes and avoids residential roads that prohibit trucks. It also accounts for truck speed limits which may be slower than car speed limits. The default mode is by car.
- To create a round-trip route, click Show more options and check the box next to Return to start.
- Click Get Directions to display text directions in the left pane of the map viewer and the route within the map.
Use your route
Once you get directions, you can print the directions, zoom to the full route, see a specific segment of the route, and add the route as a layer in your map.
- To create a printer-friendly version of the turn-by-turn text directions, click Print within the Directions pane. Once you close the Directions pane, you cannot print the text directions for the route. Use Print at the top of the map viewer to print the route map (your map won't include driving directions).
- To zoom the map back to the full extent of the route, click View Full Route.
- To see a specific segment of the route, click the segment in the Directions pane. The map recenters on that segment and displays a pop-up with directions and an option to zoom to the segment.
- If you have privileges to create content, you can add the route as a layer in your map through Add as Layer and save the route layer to your map. Once you've added the route layer, you can add additional routes by creating a new set of directions and adding that layer to your map. Each route appears as a layer in the Contents of your map. Be sure to save the map if you want to save the route layer or layers. If you do not have privileges to create content, you can still add the route as a layer but you cannot save the map.