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) {