mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
commit
2626661594
@ -1,5 +1,14 @@
|
||||
# offline-editor-js - Changelog
|
||||
|
||||
## Version 3.6.0 - October 17, 2016
|
||||
|
||||
No breaking changes.
|
||||
|
||||
**Enhancements**
|
||||
* Closes #487 - missing libraries in offline-tpk-src.js
|
||||
* Closes #488 - fix package.json SPDX license expression. Pretty much only affects the latest versions of grunt-cli.
|
||||
|
||||
|
||||
## Version 3.5.0 - September 15, 2016
|
||||
|
||||
Possible breaking changes. Changes to database storage pattern.
|
||||
|
||||
@ -106,6 +106,8 @@ module.exports = function(grunt) {
|
||||
'lib/tpk/TPKLayer.js',
|
||||
'lib/tpk/OfflineTpkNS.js',
|
||||
'lib/tiles/TilesStore.js',
|
||||
'lib/tiles/lzString.js',
|
||||
'lib/tiles/base64String.js',
|
||||
'lib/tpk/zip.js',
|
||||
'lib/tpk/autoCenterMap.js',
|
||||
'lib/tpk/inflate.js',
|
||||
|
||||
2
dist/offline-edit-advanced-src.js
vendored
2
dist/offline-edit-advanced-src.js
vendored
@ -1,4 +1,4 @@
|
||||
/*! esri-offline-maps - v3.5.0 - 2016-09-15
|
||||
/*! esri-offline-maps - v3.6.0 - 2016-10-17
|
||||
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
|
||||
* Apache License*/
|
||||
// Configure offline/online detection
|
||||
|
||||
2
dist/offline-edit-basic-src.js
vendored
2
dist/offline-edit-basic-src.js
vendored
@ -1,4 +1,4 @@
|
||||
/*! esri-offline-maps - v3.5.0 - 2016-09-15
|
||||
/*! esri-offline-maps - v3.6.0 - 2016-10-17
|
||||
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
|
||||
* Apache License*/
|
||||
// Configure offline/online detection
|
||||
|
||||
2
dist/offline-tiles-advanced-src.js
vendored
2
dist/offline-tiles-advanced-src.js
vendored
@ -1,4 +1,4 @@
|
||||
/*! esri-offline-maps - v3.5.0 - 2016-09-15
|
||||
/*! esri-offline-maps - v3.6.0 - 2016-10-17
|
||||
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
|
||||
* Apache License*/
|
||||
define([
|
||||
|
||||
2
dist/offline-tiles-basic-src.js
vendored
2
dist/offline-tiles-basic-src.js
vendored
@ -1,4 +1,4 @@
|
||||
/*! esri-offline-maps - v3.5.0 - 2016-09-15
|
||||
/*! esri-offline-maps - v3.6.0 - 2016-10-17
|
||||
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
|
||||
* Apache License*/
|
||||
define([
|
||||
|
||||
111
dist/offline-tpk-min.js
vendored
111
dist/offline-tpk-min.js
vendored
File diff suppressed because one or more lines are too long
1909
dist/offline-tpk-src.js
vendored
1909
dist/offline-tpk-src.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,9 +1,9 @@
|
||||
{
|
||||
"name": "esri-offline-maps",
|
||||
"version": "3.5.0",
|
||||
"version": "3.6.0",
|
||||
"description": "Lightweight set of libraries for working offline with map tiles and editing with ArcGIS feature services",
|
||||
"author": "Andy Gup <agup@esri.com> (http://blog.andygup.net)",
|
||||
"license": "Apache 2.0",
|
||||
"license": "Apache-2.0",
|
||||
"main": "dist/offline-edit-min.js",
|
||||
"contributors": [
|
||||
"Javier Abadia",
|
||||
@ -26,8 +26,8 @@
|
||||
"homepage": "http://esri.github.io/offline-editor-js/demo/",
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"grunt": "^0.4.5",
|
||||
"gh-release": "^2.0.0",
|
||||
"grunt": "^0.4.5",
|
||||
"grunt-contrib-compress": "^0.13.0",
|
||||
"grunt-contrib-concat": "^0.5.1",
|
||||
"grunt-contrib-jshint": "^0.11.1",
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
"appHomePage": "appcache-tiles.html",
|
||||
"optimizedApiURL": "../samples/jsolib",
|
||||
"arcGISBaseURL": "http://js.arcgis.com/3.14",
|
||||
"version": "3.5.0",
|
||||
"version": "3.6.0",
|
||||
"private": true,
|
||||
"description": "manifest generator project",
|
||||
"repository": {
|
||||
|
||||
@ -134,11 +134,13 @@
|
||||
xhrRequest.open("GET", url.value, true);
|
||||
xhrRequest.responseType = "blob";
|
||||
xhrRequest.onprogress = function(evt){
|
||||
if(evt.hasOwnProperty("total")){
|
||||
var percent = (parseFloat(evt.loaded / evt.total) * 100).toFixed(0);
|
||||
var percent = 0;
|
||||
|
||||
if("total" in evt){
|
||||
percent = (parseFloat(evt.loaded / evt.total) * 100).toFixed(0);
|
||||
}
|
||||
else{
|
||||
var percent = (parseFloat(evt.loaded / evt.totalSize) * 100).toFixed(0);
|
||||
percent = (parseFloat(evt.loaded / evt.totalSize) * 100).toFixed(0);
|
||||
}
|
||||
urlInputBtn.innerHTML = "Get file via url " + percent + "%";
|
||||
console.log("Begin downloading remote tpk file...")
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
var tpkLayer = null;
|
||||
|
||||
require([
|
||||
"../dist/offline-tpk-min.js",
|
||||
"../dist/offline-tpk-src.js",
|
||||
"dojo/domReady!"],
|
||||
function()
|
||||
{
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user