From 2763531859fc98c170f7b771a457aba94ce4dc3d Mon Sep 17 00:00:00 2001 From: Andy Gup Date: Tue, 14 Oct 2014 17:27:08 -0600 Subject: [PATCH 1/2] Wording clarification --- samples/tpk-layer.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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) { From c9959cbe2c15c6ca087e12fff9cd3b1223a113f9 Mon Sep 17 00:00:00 2001 From: Andy Gup Date: Tue, 14 Oct 2014 17:34:18 -0600 Subject: [PATCH 2/2] update changelog. --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) 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.