The basic workflow in Navigator consists of downloading a map, creating a route, and navigating along that route—all done by a mobile worker within the app.
You may want to provide additional support to your mobile workers by providing them with a custom map to download or by defining shared routes they can use.
There are other ways you may want to deploy additional information to your mobile workers. This topic covers these alternate ways to deploy, including:
- Copy a map directly to the mobile device instead of downloading it.
- Provide a link that can be used to install the app, download a map, or define a route.
- Use mobile device management (MDM) software to deploy the app.
Copy navigation maps to the device
In addition to downloading maps within Navigator, you can copy (sideload) mobile map packages (MMPKs) directly to your Android or iOS device.
Android
- Prepare a mobile map package (.mmpk) using ArcGIS Pro. For details, see Prepare maps.
- If you are using a Mac, download the Android File Transfer Utility and follow the instructions provided. If you are using a Windows computer, skip this step.
- Plug your device into your computer.
- Browse to ArcGIS/mmpks on your Android device.
- Drag or copy and paste your .mmpk file from your computer to the ArcGIS/mmpks folder on your device.
Notatka:
To access an MMPK from your computer, you must either save the package to a file in ArcGIS Pro when you create it, or download the MMPK file from your ArcGIS Online content.
- Swipe down on the Navigator Maps list on your device to refresh it.
The .mmpk file appears under On Device in the Maps list.
iOS
- Prepare a mobile map package (.mmpk) using ArcGIS Pro. For details, see Prepare maps.
- Copy your .mmpk file from your computer to the Navigator app on your device using iTunes or the Files app.
- iTunes—Connect your device to your computer. See Apple Support for details on using iTunes to share files between your computer and your device and follow the steps to copy your .mmpk file from your computer to the Navigator app on your device.
Notatka:
To access an MMPK from your computer, you must either save the package to a file in ArcGIS Pro when you create it, or download the MMPK file from your ArcGIS Online content.
- Files app—Use the Files app to copy .mmpk files directly from compatible applications, such as iCloud Drive, Box, or Google Drive. In the Files app, browse to where you uploaded the .mmpk file and copy it to your device, placing it in the Navigator folder. For complete steps, see Apple Support for details on using the Files app on your device.
Notatka:
Using the Files app requires iOS 11 or later.
- iTunes—Connect your device to your computer. See Apple Support for details on using iTunes to share files between your computer and your device and follow the steps to copy your .mmpk file from your computer to the Navigator app on your device.
- Swipe down on the Navigator Maps list on your device to refresh it.
The .mmpk file appears under On Device in the Maps list.
Open Navigator from a link
Mobile workers can download a map or route in Navigator, or you can provide a URL directly to them. Make it easy for your mobile workers to open the right map and navigate to their work by sharing a link directly to your map or route through an email, text message, web page, QR code, or another app. When tapped, Navigator opens to the map or route you want the mobile worker to use. You can even have a route ready or start navigating when the map opens. Once you've created a link, be sure to test it before sending it to your mobile workers.
Navigator links
Navigator links have the following format: https://navigator.arcgis.app?parameter=value¶meter=value, where parameter and value pairs are replaced with the values you want to use to open a map or route. For example, https://navigator.arcgis.app?itemID=54b927a0eeab413a885c647d1fa393da&stop=15500+US+101,+Klamath,+CA+95548 uses the parameter itemID and the value 54b927a0eeab413a885c647d1fa393da to download and open an Esri-provided Navigator map of California with that ID. The stop parameter and 15500+US+101,+Klamath,+CA+95548 value specify that address as the stop coordinates for a route from the mobile worker's current location.
Parameters
The following parameters are supported with Navigator links. If no parameters are passed, tapping the link opens Navigator (or prompts you to download the app).
Parameter | Values | Notes |
---|---|---|
itemID | The item ID of the mobile map package (MMPK) to download and open in Navigator |
|
routeItemID | The item ID of the shared route to download and open in Navigator |
|
stop | The location of a stop on the route |
|
stopname | The name associated with a stop on the route |
|
start | A starting location for the route that is different from the mobile worker's current location |
|
startname | The name associated with the start of the route |
|
optimize | Specify whether the order of stops in the route should be optimized |
|
travelmode | The name of the travel mode to be used when calculating the route |
|
navigate | Specify whether to immediately start navigation of the route |
|
callback | The URL to call when navigation completes |
|
callbackprompt | The app name to use when Navigator asks the user if control should be given back to the calling app |
|
Continue reading for examples of using these parameters to achieve specific behavior with a Navigator link.
Notatka:
The mobile device must have an internet connection to download maps and routes.
Download and open a map
Download and open a navigation map using the itemID parameter. If the mobile worker already has the map downloaded on their device, no download occurs, and the specified map is opened in Navigator.
The following is an example:
https://navigator.arcgis.app?itemID=54b927a0eeab413a885c647d1fa393da
Download and open a route
Download and open a shared route using the routeItemID parameter. If the mobile worker already has the route downloaded on their device, no download occurs, and the specified route is opened in Navigator.
The following is an example:
https://navigator.arcgis.app?routeItemID=3ac4145c1ac44aea86e9ed42e00fbb0d
Wskazówka:
If the mobile worker does not already have a map open in Navigator that covers the extent of the route provided in the link, they will get an Unable to Calculate Route error. To prevent this, include the itemID for the map you want the worker to use in the link along with the routeItemID.
Display directions to a single location
Display directions to a single location using the stop parameter. The user's current location is used as the starting point. The map's default travel mode is used.
The following are examples:
- Define a single stop using latitude and longitude coordinates: https://navigator.arcgis.app?stop=41.5848,-124.0861
- Define a single stop using an address: https://navigator.arcgis.app?stop=15500+US+101,+Klamath,+CA+95548
- Define a single stop using a feature: https://navigator.arcgis.app?stop=SDH8606
- Define a single stop using latitude and longitude coordinates and a stop name: https://navigator.arcgis.app?stop=41.5848,-124.0861&stopname=Trees+of+Mystery
- Define a single stop using an address and a stop name (Florence Keller County Park & Campground) that contains a reserved character (&). Reserved characters must be URL encoded: https://navigator.arcgis.app?stop=3400+Cunningham+Ln,+Crescent+City,+CA+95531&stopname=Florence+Keller+County+Park+%26+Campground
Wskazówka:
If the mobile worker does not already have a map open in Navigator that covers the extent of the stops provided in the link, they will get a Cannot Calculate Route error. To prevent this, include the itemID for the map you want the worker to use in the link along with the stop locations.
Specify a custom starting point
Use a custom starting point to specify a start location that is different from the mobile worker's current location.
The following example link displays directions between the Los Angeles International Airport and the Ontario International Airport using their respective airport codes instead of addresses with defined stop and start names:
Generate directions to multiple stops
Generate directions to multiple stops in a single link.
The following example link contains two stops using addresses:
https://navigator.arcgis.app?stop=569+S+G+St,+Arcata,+CA&stop=7707+Tompkins+Hill+Rd,+Eureka,+CA
The following example link contains two stops with two stop names, where one stop uses an address, and the other uses latitude and longitude coordinates:
Enable route optimization
Navigator optimizes the route of multiple stops when the optimize parameter is included and the value is set to true.
The following example link specifies that the order of the two stops should be optimized:
https://navigator.arcgis.app?stop=41.5848,-124.0861&stop=41.5544,-124.0867&optimize=true
Set the travel mode
Navigator navigation maps can include multiple travel modes. If a value is specified for the travelmode parameter, it will be used when the directions are generated. Otherwise, the default travel mode will be used.
The following example link generates directions to Esri headquarters based on the Trucking Time travel mode:
Notatka:
The travelmode parameter is case sensitive. The navigation map defines which travel modes are available. The navigation maps that are provided with Navigator have the following travel modes:
- Driving Time
- Driving Distance
- Trucking Time
- Trucking Distance
- Walking Time
- Walking Distance
- Rural Driving Time
- Rural Driving Distance
Automatically start navigating
Navigator will automatically begin navigation when the link is tapped if the navigate parameter is specified and set to true.
The following example link generates directions to Esri headquarters and opens Navigator in navigation mode:
https://navigator.arcgis.app?stop=380+New+York+St,+Redlands,+CA&stopname=Esri&navigate=true
Open an app when navigation completes
When linking to Navigator from another app, you can use callback to return to the original app and callbackprompt to notify your users when navigation completes before returning them to the original app. If callbackprompt is not used, control will pass directly back to the original app, and a prompt is not displayed.
The following example link specifies that Navigator should display directions to a single location and that once navigation to that location has been completed, the user should be notified that the app from which Navigator was accessed (in this case, ArcGIS Collector) will be opened:
Test your links
Once you've created a link, it's ready for testing. While you can test it yourself, it's recommended that you also get feedback from mobile workers—make sure the people using your links can be successful with them.
Before distributing your link for use in the field, make sure it functions as expected. Pay attention to the following:
- The correct map is opened (and downloaded if it is not already on the device).
- If the link includes start, stop, or routeItemID, the correct route displays in Navigator.
- If the link includes stopname or startname, those names are visible in the route Details.
- If the link includes travelmode, the travel mode specified is being used in Navigator.
- If the link routes to or from a feature or address, the correct feature or address is used in the route.
Troubleshoot
When testing your links, you might experience some common issues. Learn how to fix them in the following sections.
Map does not download or open
- Make sure the map is shared with the mobile workers.
- Verify that the itemID value matches the id in the map's item page URL.
- Confirm that the map is a mobile map package by looking at its item page. If not, see Prepare maps for details on how to create one.
Route does not display
- Verify that the mobile worker's Current map in Navigator covers the extent of the route and the location of the mobile worker.
Wskazówka:
In the link, include the itemID for the map you want mobile workers to use with the route.
- Parameters must be URL encoded. Spaces must be encoded as + or %20.
- If the link includes routeItemID, do the following:
- Make sure the route layer is shared with the mobile workers.
- Verify that the routeItemID value matches the id in the route layer's item page URL.
- Confirm that the item is a route layer by looking at its item page. If not, see Create shared routes for details on how to create one.
Search does not return the desired results
- If addresses aren't returned, make sure the map contains a general address locator. See Add a general address locator.
- If features aren't returned, or the wrong features are returned, verify that the layer in the map is enabled for asset search and using the correct field. See Enable search.
Mobile device management
Mobile device management (MDM) refers to software used for the administration of mobile devices in an organization. An MDM is used to enhance data and network security as well as to set and enforce mobile device policies. Additionally, using an MDM increases the efficiency of app deployments and management for mobile devices, including controlling how and when an app is updated. To learn more about how Esri approaches MDM, see ArcGIS Secure Mobile Implementation Patterns in the ArcGIS Trust Center.
When preparing to deploy Navigator to your organization's mobile devices via MDM, there are some application and profile settings you may want to configure. These include portal URL, local authentication, and per-app VPN settings.
Notatka:
If you’re using an Android device, Chrome or another browser must be installed and enabled to display the portal sign-in screen.
Navigator app configuration
App configuration (also referred to as AppConfig) refers to a format for providing application settings such as portal URL and local authentication, among others. Instead of configuring these settings manually each time a mobile app is installed, you can use your MDM to specify and apply app configurations automatically. These settings are defined as a dictionary of key-value pairs in an XML file. How the dictionary is created depends on the MDM you're using. To learn more about app configuration, visit the AppConfig Community.
Navigator has the following settings that can be implemented with app configuration in your MDM:
Key | Value | Notes |
---|---|---|
portalURL | Your organization's portal URL |
|
enableLocalAuthentication Uwaga:iOS only. | Specify whether to use the biometric and passcode authentication method set up on the mobile device when Navigator is launched or brought forward from the background |
|
Per-app virtual private network
Configuring a per-app virtual private network (per-app VPN) in your MDM allows you to restrict access to internal resources to specific managed apps. Navigator can be deployed with this configuration. To set up per-app VPN for use with Navigator, please see the software documentation for the MDM you are using.
Uwaga:
If you're on iOS and using ArcGIS Online or ArcGIS Enterprise 10.6.1 or later, Safari is used to display the portal sign-in screen in Navigator. For this to work correctly with a per-app VPN enabled, your portal domain (for example, mycompany.com) must be specified in the Safari Domains setting in the per-app VPN profile you're using. If Safari Domains is not set correctly, the assigned mobile devices cannot access the Navigator portal sign-in screen.
When you set a Safari Domain in the per-app VPN profile as described above, the Safari Browser app can also access the portal domain you specified in the Safari Domains. If you want to block this access, configure an iOS Restriction (if available in your MDM) to Block Safari Browser App on the desired devices.
After you've configured the per-app VPN settings for Navigator in your MDM, when the app is launched on a managed mobile device, it will automatically connect to the designated per-app VPN. When Navigator is running in the background, the per-app VPN is still connected, but only to Navigator. When Navigator is closed, the mobile device automatically disconnects from the per-app VPN.