Offline maps, scenes, and data allow users to continue being productive when network connectivity is poor or nonexistent. Users can explore maps, collect information, edit their asset data, find places, and routes to new locations, all while disconnected. Once a connection is reestablished, users can update their offline map by downloading changes relevant to their offline map or by synchronizing their edits with the online services. Users can also explore scenes, manage camera controllers, and find locations, all while disconnected.
Offline mapping apps guideLearn more at the Introduction to offline apps topic.
This SDK supports maps that are always connected, occasionally connected, and fully disconnected.
Always connected: Users expect their apps to have constant access to online map and layer services. If the device loses network connectivity, the application will lose access to these services, resulting in loss of data and, perhaps, app failure.
Occasionally connected: Apps that are occasionally connected can download an offline map from a web map when a connection is available and continue to work offline when the device is disconnected. When connectivity is restored, any changes to operational data in the offline map can be synchronized with the online services in the source web map. Occasionally connected apps can adopt the following workflows:
To include data content in an offline map, the services referenced by layers in the web map must be enabled for offline use. See Take web maps offline in the ArcGIS Online documentation for more information.
Layers in an offline map can be configured to reference a service (instead of including content for that layer in the offline map). This is useful for layers that are updated frequently with time-sensitive content, such as a traffic layer. Content for these layers is only available while a network connection is present.
Fully disconnected: A fully disconnected workflow is suitable for apps that do not require regular data updates, or for apps that will never have access to a network connection. Apps can operate in a fully disconnected environment by opening mobile map packages or mobile scene packages created with ArcGIS Pro. These read-only packages can be shared within an organization or distributed by traditional means and copied onto any number of devices. See Take a map offline with ArcGIS Pro or Take a scene offline with ArcGIS Pro for more details.
* Taking utility networks offline requires ArcGIS Enterprise version 10.9 or later.
NoteAn alternative to downloading an offline map or reading a mobile package is to programmatically construct the map using individual layers which can either reference offline data downloaded from individual services, or data files stored on the device. Working directly with layers gives you full flexibility to compose your own map or scene to use offline.
Enable services for offline useTo access layer content while offline with the ahead-of-time or on-demand workflows, you should offline-enable feature services, vector tile services, and map tile services that are referenced by layers in the web map. The author of the web map can do this when publishing the web map, or later using any of the service management tools. See Take web maps offline in the ArcGIS Online documentation for more information.
Feature servicesYou must sync-enable a feature service if you want feature data to be downloaded with the offline map, any edits to be synchronized, or update packages to be received (ahead of time only). Follow the instructions here:
If you want tile service data to be downloaded with the offline map, you must ensure that the tiled service has the exportTiles
capability enabled. For more information, see the ArcGIS REST API documentation for Vector tile service - Export Tiles and Map service - Export Tiles. To enable this capability, follow these instructions:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4