What is a partially offline app?
A partially offline app is a type of offline app that is designed to work where network connectivity is unreliable. This is ideal for when users can access the internet but cannot guarantee constant connectivity.
There are two scenarios for using partially offline apps:
- Online-first: You download maps and synchronize data in a connected environment before going offline. This strategy is well-suited for a field worker who wants to be prepared for periods of limited or no connectivity.
- Offline-first: You use the app with data you already have locally and access online capabilities when connected to a network, such as using hosted layers.
When do you use partially offline apps?
You use partially offline apps when you have intermittent network access. You will mostly be disconnected, but there will be periods of connectivity during which you can download data for offline use and synchronize offline edits. You can still perform basic mapping tasks offline, as long as you have the map and data downloaded to your device. These tasks include searching for an address, making edits to offline data, performing routing, or using the device's GPU for viewshed, line-of-sight, and interactive distance measurement capabilities.
Mobile data sources for partially offline apps
The mobile data source you use depends on the capabilities you want for your partially offline app, such as editability and synchronization capabilities. You can build a partially offline app using any of these mobile data sources:
- Offline maps: An offline map is a map downloaded from a web map. All the layers in the web map have to be offline-enabled before you can use the map offline.
- Offline data: Offline data is data that is generated and downloaded from a data service. To support offline data, a service must be offline-enabled.
- Mobile packages: A mobile package is an ArcGIS Pro project containing maps and/or scenes.
- Data files: A data file is a stand-alone file containing geographic data that can be displayed by a layer in a map or scene.
The following table compares the capabilities of different mobile data sources you can use in your partially offline app:
Offline maps | Offline data | Mobile packages | Data files | |
---|---|---|---|---|
2D maps | 1 | 1 | ||
3D scenes | 2 | 2 | ||
Edit data while offline | 3 | |||
Synchronize offline edits | 4 | |||
Fully disconnected apps/devices | 4 | 4 | ||
Offline geocoding | 5 | |||
Offline routing | 6 | |||
Offline analysis | ||||
Set expiration date for data access |
- 1. Map constructed in code
- 2. Scene constructed in code
- 3. Shapefiles, GeoPackages, and KML
- 4. Custom sideloading workflows required
- 5. Locator exported from ArcGIS Pro
- 6. Network Analysis dataset exported from ArcGIS Pro
Online services in partially offline apps
Partially offline apps can use online services while connected to a network. For example, you can:
- Use an offline map, but geocode and find routes using ArcGIS Online.
- Display a web map and add a layer from a local shapefile.
- Configure an offline map (or the maps or scenes in a mobile package) to include online layers. The content for these layers is not included in the offline map or mobile package. Instead, an online layer will access a data service (such as a traffic layer) whenever a network connection is available.
Tutorials
Create an offline-enabled web map
Create an offline map area
Use your portal to create an offline map area from an offline-enabled web map.
Create a mobile map package
Workflows
Create an app using a web map (ahead of time)
Learn how to build an offline app using an offline-enabled web map using the ahead-of-time method.
Create an app using a web map (on-demand)
Learn how to build an offline app using an offline-enabled web map using the on-demand method.
Create an app using a web map with layers (ahead of time)
Learn how to build an offline app using an offline-enabled web map and feature layer using the ahead-of-time method.
Create an app using a web map with layers (on-demand)
Learn how to build an offline app using an offline-enabled web map and feature layer using the on-demand method.
API support
- 1. Manage offline map areas