diff --git a/CHANGELOG.md b/CHANGELOG.md index 4552a93..d12fd7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # offline-editor-js - Changelog +## Version 2.3.1.1 - Oct 14, 2014 +- Minor wording change in tpk-layer.html sample to better describe changing TPK file type to .zip in order for it to work correctly. + ## Version 2.3.1 - Oct 14, 2014 - Fixes NPM version for current NPM (requires patch version) - Fixes issue with JPEG-based TPKs where tiles were not completely read from the TPK buffer, resulting in an incomplete image. diff --git a/samples/tpk-layer.html b/samples/tpk-layer.html index 12cffb8..1f3a1ec 100644 --- a/samples/tpk-layer.html +++ b/samples/tpk-layer.html @@ -55,7 +55,8 @@
-

Browse for a zipped .TPK file locally or retrieve a URL

+

Browse for a .TPK file locally or retrieve one via URL

+

You'll need to rename the file type from .tpk to .zip

@@ -135,7 +136,10 @@ console.log("Begin downloading remote tpk file...") } - xhrRequest.error = function(err){console.log("ERROR")} + xhrRequest.error = function(err){ + console.log("ERROR retrieving TPK file: " + err.toString()); + alert("There was a problem retrieve the file."); + } xhrRequest.onload = function(oEvent) { if(this.status == 200) {