Using the Javascript API, is it possible to download maps to local storage and load from there?

2726
2
Jump to solution
05-25-2018 01:39 AM
JoeyArmistead
New Contributor

For context, the application we are working on is for mobile devices, for inspections. Some of the locations that the inspections are performed in are remote enough to not have reliable cellphone data coverage, or have parts of a building without data (basements and the like).

My understanding is that the runtime sdk's have a fairly straight forward solution to this problem, our goal with solving this problem via the javascript sdk is to have something that is easier to transfer across platforms.

Thanks!

0 Kudos
1 Solution

Accepted Solutions
KellyHutchins
Esri Frequent Contributor

There was a GitHub project that showed how to accomplish this here: 

GitHub - Esri/offline-editor-js: ArcGIS JavaScript library for handling offline editing and tiling. 

It's not maintained anymore but wanted to add it here because one of the issues in that repo has some good details on why the Runtime SDKs are a better option in most cases. 

Maintenance mode details · Issue #468 · Esri/offline-editor-js · GitHub 

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Emeritus

Joey,

   The JS API does not have any support for disconnected editing like a native app like the Runtime SDK does. There are always going to be thing you you have to use a native app for like the runtime SDK and diconnected editing/data is one of them.

KellyHutchins
Esri Frequent Contributor

There was a GitHub project that showed how to accomplish this here: 

GitHub - Esri/offline-editor-js: ArcGIS JavaScript library for handling offline editing and tiling. 

It's not maintained anymore but wanted to add it here because one of the issues in that repo has some good details on why the Runtime SDKs are a better option in most cases. 

Maintenance mode details · Issue #468 · Esri/offline-editor-js · GitHub