Offline Map with HTML5 based Application

3930
3
05-27-2014 02:38 AM
Muhammad_WaseemLatif
New Contributor
Hello Everyone,

We are developing an application in (HTML5 + CSS3 + JavaScript) and targeting multiple platforms. We are planning to integrate ArcGIS maps in our application. Since our application also works in offline mode is it possible to use these maps in disconnected environment? What are different ways and limitations we have for purely HTML5 based applications?

A prompt reply with any sample application source code will be highly appreciated.

Kind Regards,
Waseem
0 Kudos
3 Replies
ReneRubalcava
Frequent Contributor
There have been a couple of threads here discussing it.
http://forums.arcgis.com/threads/92739-JS-API-Web-Application-with-Disconnected-Editing

Also, there is an Esri project to allow disconnected editing up on github.
https://github.com/Esri/offline-editor-js

I just recently started trying to integrate the offline-editor into my most current project. The great thing about that library is that once you set it up, you can let it handle all the work of syncing the edits and not worry about it if you like. It even has a library that can ssupport TPK files.
0 Kudos
Muhammad_WaseemLatif
New Contributor
Hello Odoe,

I appreciate your reply. Can you please provide a sample code, how you have integrated offline-editor in your project?

Regards,
Waseem
0 Kudos
Muhammad_WaseemLatif
New Contributor
Hello Rene,

I am running one of the sample applications i.e. appcache-features.html found in:
https://github.com/Esri/offline-editor-js

It is working pretty well. If I go to offline mode using the toggle button it shows the map with the markers on it.
However, If I go to offline mode by disabling the network adapter the map does not show up.

Can you please explain what difference it makes if we go offline whether programmatically or by disabling the network adapter and why the map does not show up in the later case?

Regards,
Waseem
0 Kudos