Closed Henrikrb closed 7 years ago
Please confirm your browser and version?
Have you tried running the sample app appcache-tiles.html while it's fully offline? Did it work fully offline?
Experiment with using just one tile layer, at first.
Did you set up an Application Cache, I wasn't 100% certain? Did you get any Application Cache errors?
I do not recommend using the pattern window.navigator.connection.type
to detect offline conditions. All the offline samples in this repo use Offline.js in combination with a simple HTTP request. Note, the verifyOffline()
pattern being used in appcache-tiles.html
Hi, any luck on this?
@tumenor I'm going to go ahead and close this. If you have additional issues please feel free to reopen or create a new issue.
The ArcGis map doesnt initiate when loading the application from an offline device, if I start the device offline and then shut off the internet it works just fine.
I am using Offline Tiles advances
areWeOnline
if(window.navigator.connection.type == "none") { areWeOnline = false; startMap(); } else { startMap(); }
Above the startmap which is:
Plus the layers above of course. The response.data are just two variables ive added to the functions, it does not interfere with anything but the url out and works just fine with the cache. My problem is that arcgis doesnt start at all while starting it from offline. The area of the map is just blank.
Log:
I've cencored the servers to keep them private