Skip to main content
Version: 1.8.3.X

Routing

Use routing to plan journeys from map locations, search results or selected features. Your map must have routing enabled and a configured routing provider. The available actions depend on the map configuration, route state and your permissions.

Source, Waypoints and Destination​

Location roleBehaviour
SourceThe starting location. Every non-empty route has one Source, fixed at the beginning even when optimising.
Ordinary waypointA stop after the Source. These stops can be reordered manually or by optimisation.
DestinationAn optional fixed finishing location, always after the ordinary waypoints.

Without a Destination, the route finishes at its last ordinary waypoint. Optimisation can change that finish with ArcGIS or HERE; Azure Maps keeps the last input stop fixed for that calculation. See Provider Differences.

The Waypoints tab labels the Source and any configured Destination. The final ordinary waypoint is not automatically a Destination.

Creating a Route​

Creating a route and adding locations to an existing route use the same Add to Route dialog.

  1. Open Add to Route from one of the entry points below.
  2. Under Selected Route, choose an existing route or enter a name for a new one. Check this choice each time: the current or most recently selected route may already be selected.
  3. For a single location, choose Add location as:
    • Set as source starts the route at this location.
    • Add as waypoint adds an ordinary stop before any fixed Destination.
    • Set as destination fixes the finishing location.
  4. Select Set for an endpoint or Add for an ordinary waypoint.

A new or empty route starts with Set as source; the other two roles are unavailable until it has a Source. The suggested name is Route from ..., using the first location's name. Adding to a non-empty route defaults to Add as waypoint, not to replacing an endpoint.

When adding several locations together, the first becomes the Source of a new or empty route and the others become ordinary waypoints. Adding several locations to an existing route keeps its endpoints and adds ordinary waypoints. The single-location role choices are not shown for a batch.

tip

Set and Add update the working route; they do not save it for your next visit. Add at least two locations to calculate a journey and make Save Route available. New routes and later edits are marked Unsaved. See Saving, Reopening and Sharing.

The dialog allows up to 150 locations in total, including endpoints. A return-trip copy also counts towards this limit.

New Route Scope​

The map's current record context determines where a new route belongs:

  • With a nonblank record ID, table, field name, it starts as a shared RecordRoute in Record Routes. This association is specific to the matching map/profile, record, table and field, not shared across the whole map.
  • If any of those values is missing or blank, it starts as a private MyRoute in My Routes for this map/profile. This includes a new, unsaved host record that does not yet have an ID.

This default sets scope and association, not persistence. The route is still a working route until saved. Adding locations to an existing route does not change its scope or association.

Automatic record-route creation applies even when manual route sharing is disabled or restricted to administrators. It is not public access: visibility and editing still depend on the matching context, access and route permissions. Manual Share / Unshare actions retain their own sharing settings and permissions.

Record Route Creation Limit​

If Limit Number of Routes is enabled, Add to Route checks the number of Record Routes in the matching map/profile, record, table and field, including unsaved working routes. At the configured maximum, attempting to create another route shows The maximum allowed number of routes has been reached. and does not create it.

You can still select an existing editable route under Selected Route and add waypoints at the limit, subject to normal location and processing restrictions. The check uses the latest host-save context; it is not a personal-route quota or a universal API limit.

Using Context Menu​

Navigate to the location, right-click the map and select Add to Route. Choose the route and location role as described above.

Open Search, find the location, then select Add to Route from the result's three-dot menu. Choose the route and location role in the dialog.

Using a Selected Feature​

Select the feature on the map, then select Add to Route in the attributes panel. Choose the route and location role in the dialog. You can also add multiple selected features together where this action is available.

Replacing or Deleting Endpoints​

To use a location already in the route as an endpoint, open its three-dot menu in Waypoints and choose Set as source or Set as destination. To use a new location, add it with the corresponding role in Add to Route.

  • Replacing an endpoint does not delete the former endpoint: it becomes an ordinary waypoint. Delete that stop separately if it is no longer needed.
  • Delete asks for confirmation. Deleting the Source promotes the first remaining ordinary waypoint to Source. If only the Destination remains, it becomes the Source instead.
  • Deleting the Destination leaves the route without a fixed finish. The last ordinary waypoint then provides the finish.
  • You cannot delete the only remaining location; a route must keep a Source. Delete the route itself if it is no longer needed.

Return Trips​

For a journey that returns to its starting location:

  1. Open the Source's three-dot menu in Waypoints.
  2. Select Copy to destination.
  3. Review the route and save your changes.

This creates a separate Destination at the Source's coordinates; it does not move or replace the Source. If there was already a Destination, that former endpoint becomes an ordinary waypoint. Remove it separately if you do not want to visit it.

Managing a Route​

Open a route by selecting its line on the map, clicking its name in Routes, or choosing Edit Route from its three-dot menu.

Selecting a Route, Leg or Waypoint​

SelectResult
A route line on the map, including a line between two stopsSelects and highlights the whole route, not just that leg.
The route name in Routes, or Edit RouteOpens the whole route in the attributes panel.
A waypoint marker on the map or its row in WaypointsSelects that location and automatically opens and expands the Waypoints tab.
A leg row between two locations in WaypointsSelects and highlights that leg. Its departure and arrival times are shown when available.

Use the attributes-panel tabs to move between Summary (distance and times), Waypoints (stops and legs), Options (routing options and style) and Measurements. Switching from a selected waypoint or leg to a tab other than Waypoints restores whole-route selection. Returning to Waypoints does not restore the previous partial selection; select the row again.

See also Attributes Panel - Routes.

Progress and Notifications​

While a route action is running, the route list displays a spinner and status such as Loading route..., Calculating..., Saving..., Reverting... or Sharing.... Wait for processing to finish before starting another edit or reordering stops.

Notifications report save, revert, rename, share, unshare, clipboard copy and delete results. Waypoint actions also report successful removal, renaming, clearing and bulk duration updates. Endpoint changes, duration changes and the retained ordering-menu actions can report Route recalculated successfully. Dragging or keyboard reordering reports calculation errors, but does not show that same success notification.

If a waypoint action or provider calculation fails, read the error notification and check the route's locations and options before saving or retrying. Do not assume an error has undone the edit, or that a visible line alone confirms a successfully calculated journey.

Route Actions​

The route menu and attributes panel provide actions according to route state and permissions:

OptionDescription
RenameRename the selected route.
Set as FilterOpen the filter dialog, check name/buffer and choose add or replace.
Zoom ToZoom the map to the extent of the selected route.
Copy to ClipboardCopy the route as a FeatureCollection so it can be pasted into another tool or note.
Save RouteSave a new or modified route with at least two locations.
Revert RouteDiscard unsaved changes and reload the saved route.
Share / UnshareChange access to a saved route where sharing is enabled.
DeleteDelete the route after confirmation.
info

Example of a copied route:

{ "type": "FeatureCollection", "features": [{ "type": "Feature", "properties": { "routeName": "New Route 2", "routeId": "7640bacc-9701-4bf7-9573-4085e7131d97", "selectedWaypointId": "1773024538583" }, "geometry": { "type": "GeometryCollection", "geometries": [null, { "type": "Point", "coordinates": [115.89009225416936, -32.111790258021195] }] } }] }

Routing Options​

Open the Options tab and expand Route Options.

OptionDescription
Method of TransportChoose an available transport method, such as Car, Walk or Truck.
AvoidChoose supported avoidance options, such as Motorways, Toll Roads or Ferries.
DepartChoose a departure date and time, or Now. Leg times also account for intermediate stop durations.
Optimize RouteAsk the configured provider to order ordinary waypoints while retaining the fixed endpoints. See Provider Differences.

Route Style​

Expand Route Style in the Options tab.

OptionDescription
Visible by DefaultIf enabled, next time the map is loaded the route will be visible, if disabled it will be hidden until the user toggles visibility.
Route ColourSet the route colour. This also updates the route colour shown in the route panel legend.

Waypoints​

Open the Waypoints tab. The three-dot menu on its Waypoints heading provides actions for the list:

ActionDescription
Set DurationsSet a duration in minutes across the route's locations. Intermediate stop durations affect leg departure/arrival times. Summary Total Time includes durations for all locations except the Source, including the final stop.
Clear DestinationsAfter confirmation, remove all ordinary waypoints and the Destination, keeping only the Source. This does not delete the route.

A Waypoint​

Open a location's three-dot menu for its actions:

ActionDescription
Zoom ToZoom the map to the selected waypoint.
DeleteRemove the location after confirmation, subject to the Source rules above.
RenameRename the location for this route, not the original layer feature.
Set DurationSet this stop's duration in minutes. Not offered on the Source. A final-stop duration contributes to Summary Total Time, not to the final leg's arrival time.
Set as source / Set as destinationChange the location's role, retaining any former endpoint as an ordinary waypoint.
Copy to destinationOffered on the Source to create a return trip.

Duration dialogs also offer Set as my default duration for subsequent additions. Changing a duration without this choice does not set that personal default.

Adding Waypoints​

Keep the route selected and use Add to Route from the map, search or selected features. Check Selected Route and use Add as waypoint to retain its current Source and Destination.

Changing the Order of Waypoints​

Reordering is available for editable routes when they are not processing. Only ordinary waypoints can move; the Source and Destination cannot be dragged, used as drop targets or crossed by an ordinary waypoint.

  1. Open the route's Waypoints tab.
  2. Drag an ordinary waypoint row onto another ordinary waypoint row to move it to that position.
  3. Alternatively, focus the ordinary waypoint's move button and press Alt+Up Arrow or Alt+Down Arrow to move one position at a time. These shortcuts act on the move button, not anywhere in the panel.
  4. If Optimize Route is enabled, the Disable route optimisation? confirmation appears before applying the move. Confirm to turn optimisation off and move the stop, or cancel to leave both the order and optimisation unchanged.

The ordinary waypoint's three-dot menu also retains these commands, when the stop is not already at the relevant end of the ordinary list. They use the same optimisation confirmation.

ActionDescription
Bring to FrontMove to the first ordinary position, immediately after the Source.
Send to BackMove to the last ordinary position, before any Destination.

Use dragging or the keyboard shortcuts for incremental moves; the former single-step movement menu commands are no longer offered. Manual ordering turns optimisation off. Re-enabling Optimize Route lets the provider reorder ordinary stops again.

Provider Differences​

The configured Route Provider, not the displayed basemap, determines route calculation. Available transport and avoidance choices depend on that provider.

ProviderEndpoint behaviour during optimisation
ArcGISKeeps the Source first and an explicit Destination last. Without a Destination, the ordinary waypoints can be resequenced with an unfixed finish.
HEREKeeps the Source and any explicit Destination fixed. Without a Destination, all stops after the Source participate in sequencing, allowing the finish to change.
Azure MapsKeeps the first and last stops sent to its routing service fixed. Without an explicit Destination, the current last ordinary waypoint still remains the finish for that optimisation calculation; it does not become a Destination in the list.

To choose a different implicit finish with Azure Maps, turn optimisation off, move an ordinary waypoint to the end of the ordinary list, then re-enable optimisation if needed. Set an explicit Destination when you want a finish retained across providers. Use Copy to destination for a return to the Source.

Providers without routing support cannot calculate these journeys. A returned order that moves a fixed endpoint or omits stops is rejected and reported as a calculation error; review the notification rather than relying on a partially displayed route.

Saving, Reopening and Sharing​

  • Save: Select Save Route in the attributes panel or route menu and confirm. This requires at least two locations and permission to edit. Save after endpoint, ordering, option or duration changes; wait for success and check that Unsaved has cleared.
  • Reopen: Open the saved route from Routes. Record routes appear in Record Routes when the map/profile, record ID, table and field match their saved association; private routes remain in the creator's My Routes for that map/profile. The saved Source, ordinary waypoints and optional Destination are retained. The journey is recalculated using the configured provider, so its path and timings can change.
  • Revert: For a previously saved route with unsaved edits, Revert Route reloads the saved version and recalculates it. This discards unsaved endpoint and waypoint changes too.
  • Share: Where enabled, share a saved route from its menu, including by share code when offered. Normal route sharing retains the location roles; it does not give every recipient permission to edit. Save and review the route before sharing it.
  • Import/export: An administrator's normal Package Manager import/export can retain endpoint roles in included, saved map routes. Personal My Routes and record-scoped routes are excluded from route export; do not use it as a backup of all personal journeys. Ensure the target environment has the required map configuration and routing provider, then review the imported route.

Copy to Clipboard copies GeoJSON for use in other tools; it is not the route-package save/import/export workflow.

Host Record Saves​

On a record form, continue to save the host record normally; Save Route does not replace that step. The host's map-save process saves dirty routes and refreshes the map's current record ID, table and field without remounting the control.

After the first host save supplies an ID, subsequently created routes use that acquired context if all three values are nonblank. Later host saves refresh it again, so new routes and the record-route creation-limit check use the latest context.

Existing private routes and drafts are not automatically promoted to Record Routes or rebound by a host save; even if saved then, they remain private. Earlier record routes retain their original association rather than being reassigned when the host context changes. Save/reopen them in their matching context. Changing a saved route's sharing is a separate, permission-controlled operation.

Older Saved Routes​

An older route without explicit location roles is interpreted with its first waypoint as Source and all remaining locations as ordinary waypoints. It does not acquire a fixed Destination just because the old route had a final stop. Check the labels after opening it, set a Destination if you need a fixed finish, then save. With optimisation enabled, apply the provider differences above.

For custom code, see the Routing API reference for optional waypointType, mixed-role normalisation and the limits of role-preserving read/update operations.

Use Case: Planning a Sales Route​

  1. Locate the office, right-click and choose Add to Route. Enter a route name, keep Set as source, then select Set.
  2. Add the account locations to that route using Add as waypoint.
  3. In Waypoints, use the Source's Copy to destination action to finish back at the office.
  4. From the Waypoints heading menu, choose Set Durations and enter 25 minutes for the visits.
  5. In Options, choose Car, the required avoidance options and tomorrow at 8:00 AM for Depart. Enable Optimize Route to sequence the visits between the fixed office endpoints.
  6. Review distance, travel time and total time in Summary. Select individual legs in Waypoints to inspect their timings.
  7. If a visit needs more time, set that waypoint's Set Duration to 45 minutes and review the recalculated journey.
  8. To move a visit manually, drag it or use its move button's Alt+Up/Down shortcuts. Confirm disabling optimisation only if you want to keep a manual visit order.
  9. Select Save Route, confirm, and wait for the save result before leaving the map or sharing the route.