Build web mapping and geospatial applications that use the ArcGIS JavaScript API and allow you to temporarily store adds, updates and deletes of geographic features while the device is offline. It also provides limited support for attachments.
Stores tile images from tiled map services locally. Once tiles are stored your mapping app can seemlessly transition between online and offline modes.
Add .tpk files (binary tile packages) directly to your app whether it is online or offline. Use TPKs as the stand-alone mapping source file or alongside tiled map services.
Check out the following full-featured applications.
Gives you an overview of the functionality related to storing and managing multiple layers of tiles.
Shows how to integrate .tpk files into your mapping app. Tile packages are a set of tile images from a map compressed into a single binary file.
The offline libraries are supported on the latest versions of the following browsers and operating systems.
Chrome | Firefox * | Internet Explorer | Edge | Opera | Safari | |
---|---|---|---|---|---|---|
Android | Supported | Supported | N/A | N/A | Not Supported | N/A |
iOS | Supported | N/A | Not Supported | * Supported | ||
Mac OS X | Supported | Supported | Not Supported | * Supported | ||
Windows | Supported | Supported | Not Supported | Not Supported | Not Supported | Not Supported |
Additional Support Notes:
Hybrid app developers (e.g. PhoneGap\Cordova): this library is not supported for hybrid deployments. There are too many different variations of iOS and Android browser's and versions to make this feasible. We've only done very limited proof-of-concept testing using WebView. Make sure you do thorough testing on as many different phones and tablets as possible. One suggestion is to build a test app and run the Unit Test suite which is in this project under /test.
* - means that IndexedDBShim.js may be required on this browser/platform. More info available in the README under Dependencies. Firefox may not handle offline SVG-based map tiles correctly, reference Issue #483. There are no plans to fix this bug at this time.