To load offline cache ?  HTML5 + Javascript + PhoneGap  ?

1680
2
07-23-2012 01:46 AM
JoyceWen
New Contributor
Recently I need to develop an offline application deployed on iPAD and Android.
1. They need to load local cache exported from ArcGIS Server  .
2. They need to edit features offline .

I know that the if I develop native app  (Java/object-C) , I could use ArcGIS runtime for Android/iOS to load a .tpk file or compact cache locally . But if I want to use  HTML5 + Javascript + PhoneGap  , is there any posibility to load local cache ?
Could anyone give me some suggestions ?  Thanks !
0 Kudos
2 Replies
RyanTwilley
New Contributor
Hi Chen,

I'm researching a similar idea now and discovered this sample map yesterday. You're probably limited to the 5 MB localStorage limit in html5 though. I have also experimented with tile packages in a native iOS app, and was really hoping that they would be available in javascript as well. I'm going to see what happens when I try to reference one with the JS API now. I don't expect it to work, but I'm replying in hopes that we can get more feedback from someone at ESRI. Let me know if you have learned any more details.

Ryan
0 Kudos
JeffJacobson
Occasional Contributor III
Not that I have not personally used this myself, but...

I saw a presentation where a guy talked about using this product to do store tiles offline:
http://mapbox.com/developers/mbtiles/
0 Kudos