mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
commit
efa1f422ff
@ -1,5 +1,12 @@
|
||||
# offline-editor-js - Changelog
|
||||
|
||||
## Version 3.1.0 - April 21, 2016
|
||||
|
||||
No breaking changes.
|
||||
|
||||
**Bug Fixes**
|
||||
* Closes #458 - old prototype extension causing breaking failures.
|
||||
|
||||
## Version 3.0.7 - April 14, 2016
|
||||
|
||||
No breaking changes.
|
||||
|
||||
3
dist/offline-edit-advanced-min.js
vendored
3
dist/offline-edit-advanced-min.js
vendored
@ -1,6 +1,3 @@
|
||||
/*! esri-offline-maps - v3.0.6 - 2016-03-30
|
||||
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
|
||||
* Apache License*/
|
||||
Offline.options={checks:{image:{url:function(){return"http://esri.github.io/offline-editor-js/tiny-image.png?_="+Math.floor(1e9*Math.random())}},active:"image"}},define(["dojo/Evented","dojo/_base/Deferred","dojo/promise/all","dojo/_base/declare","dojo/_base/array","dojo/dom-attr","dojo/dom-style","dojo/query","esri/config","esri/layers/GraphicsLayer","esri/graphic","esri/request","esri/symbols/SimpleMarkerSymbol","esri/symbols/SimpleLineSymbol","esri/symbols/SimpleFillSymbol","esri/urlUtils"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){"use strict"
|
||||
return d("O.esri.Edit.OfflineEditAdvanced",[a],{_onlineStatus:"online",_featureLayers:{},_featureCollectionUsageFlag:!1,_editStore:new O.esri.Edit.EditStore,_defaultXhrTimeout:15e3,ONLINE:"online",OFFLINE:"offline",RECONNECTING:"reconnecting",attachmentsStore:null,proxyPath:null,ENABLE_FEATURECOLLECTION:!1,DB_NAME:"features_store",DB_OBJECTSTORE_NAME:"features",DB_UID:"objectid",ATTACHMENTS_DB_NAME:"attachments_store",ATTACHMENTS_DB_OBJECTSTORE_NAME:"attachments",events:{EDITS_SENT:"edits-sent",EDITS_ENQUEUED:"edits-enqueued",EDITS_ENQUEUED_ERROR:"edits-enqueued-error",EDITS_SENT_ERROR:"edits-sent-error",ALL_EDITS_SENT:"all-edits-sent",ATTACHMENT_ENQUEUED:"attachment-enqueued",ATTACHMENTS_SENT:"attachments-sent"},initAttachments:function(a){if(a=a||function(a){},!this._checkFileAPIs())return a(!1,"File APIs not supported")
|
||||
try{if(this.attachmentsStore=new O.esri.Edit.AttachmentsStore,this.attachmentsStore.dbName=this.ATTACHMENTS_DB_NAME,this.attachmentsStore.objectStoreName=this.ATTACHMENTS_DB_OBJECTSTORE_NAME,!this.attachmentsStore.isSupported())return a(!1,"indexedDB not supported")
|
||||
|
||||
2
dist/offline-edit-advanced-src.js
vendored
2
dist/offline-edit-advanced-src.js
vendored
@ -1,4 +1,4 @@
|
||||
/*! esri-offline-maps - v3.0.6 - 2016-03-30
|
||||
/*! esri-offline-maps - v3.1.0 - 2016-04-21
|
||||
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
|
||||
* Apache License*/
|
||||
// Configure offline/online detection
|
||||
|
||||
3
dist/offline-edit-basic-min.js
vendored
3
dist/offline-edit-basic-min.js
vendored
@ -1,6 +1,3 @@
|
||||
/*! esri-offline-maps - v3.0.6 - 2016-03-30
|
||||
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
|
||||
* Apache License*/
|
||||
Offline.options={checks:{image:{url:function(){return"http://esri.github.io/offline-editor-js/tiny-image.png?_="+Math.floor(1e9*Math.random())}},active:"image"}},define(["dojo/Evented","dojo/_base/Deferred","dojo/promise/all","dojo/_base/declare","dojo/_base/array","dojo/dom-attr","dojo/dom-style","dojo/query","dojo/on","esri/config","esri/layers/GraphicsLayer","esri/layers/FeatureLayer","esri/graphic"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){"use strict"
|
||||
return d("O.esri.Edit.OfflineEditBasic",[a],{_onlineStatus:"online",_featureLayers:{},_editStore:new O.esri.Edit.EditStorePOLS,_defaultXhrTimeout:15e3,_autoOfflineDetect:!0,ONLINE:"online",OFFLINE:"offline",RECONNECTING:"reconnecting",proxyPath:null,DB_NAME:"features_store",DB_OBJECTSTORE_NAME:"features",DB_UID:"objectid",events:{EDITS_SENT:"edits-sent",EDITS_ENQUEUED:"edits-enqueued",EDITS_ENQUEUED_ERROR:"edits-enqueued-error"},constructor:function(a){a&&a.hasOwnProperty("autoDetect")&&(this._autoOfflineDetect=a.autoDetect)},extend:function(a,d){var f=[],g=this
|
||||
a.offlineExtended=!0,!a.loaded||null===a._url,a.objectIdField=this.DB_UID
|
||||
|
||||
2
dist/offline-edit-basic-src.js
vendored
2
dist/offline-edit-basic-src.js
vendored
@ -1,4 +1,4 @@
|
||||
/*! esri-offline-maps - v3.0.6 - 2016-03-30
|
||||
/*! esri-offline-maps - v3.1.0 - 2016-04-21
|
||||
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
|
||||
* Apache License*/
|
||||
// Configure offline/online detection
|
||||
|
||||
8
dist/offline-tiles-advanced-min.js
vendored
8
dist/offline-tiles-advanced-min.js
vendored
@ -1,8 +1,5 @@
|
||||
/*! esri-offline-maps - v3.0.6 - 2016-03-30
|
||||
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
|
||||
* Apache License*/
|
||||
define(["dojo/query","dojo/request","dojo/_base/declare","esri/layers/LOD","esri/geometry/Point","esri/geometry/Extent","esri/layers/TileInfo","esri/SpatialReference","esri/geometry/Polygon","esri/layers/TiledMapServiceLayer"],function(a,b,c,d,e,f,g,h,i,j){"use strict"
|
||||
return c("O.esri.Tiles.OfflineTilesAdvanced",[j],{tileInfo:null,_imageType:"",_level:null,_minZoom:null,_maxZoom:null,_tilesCore:null,_secure:!1,constructor:function(a,b,c,d){this._isLocalStorage()===!1&&(alert("OfflineTiles Library not supported on this browser."),b(!1)),void 0===d||null===d?(this.DB_NAME="offline_tile_store",this.DB_OBJECTSTORE_NAME="tilepath",this.offline_id_manager="offline_id_manager"):(this.DB_NAME=d.dbName,this.DB_OBJECTSTORE_NAME=d.objectStoreName,void 0===d.offlineIdManager||null===d.offlineIdManger?this.offline_id_manager="offline_id_manager":this.offline_id_manager=d.offlineIdManager),this._tilesCore=new O.esri.Tiles.TilesCore,Array.prototype.sortNumber=function(){return this.sort(function(a,b){return a-b})},this._self=this,this._lastTileUrl="",this._imageType="",this._getTileUrl=this.getTileUrl
|
||||
return c("O.esri.Tiles.OfflineTilesAdvanced",[j],{tileInfo:null,_imageType:"",_level:null,_minZoom:null,_maxZoom:null,_tilesCore:null,_secure:!1,constructor:function(a,b,c,d){this._isLocalStorage()===!1&&(alert("OfflineTiles Library not supported on this browser."),b(!1)),void 0===d||null===d?(this.DB_NAME="offline_tile_store",this.DB_OBJECTSTORE_NAME="tilepath",this.offline_id_manager="offline_id_manager"):(this.DB_NAME=d.dbName,this.DB_OBJECTSTORE_NAME=d.objectStoreName,void 0===d.offlineIdManager||null===d.offlineIdManger?this.offline_id_manager="offline_id_manager":this.offline_id_manager=d.offlineIdManager),this._tilesCore=new O.esri.Tiles.TilesCore,this._self=this,this._lastTileUrl="",this._imageType="",this._getTileUrl=this.getTileUrl
|
||||
var e=!0
|
||||
return"undefined"==typeof c&&null==c||(e=c),this.showBlankTiles=!0,this.offline={online:e,store:new O.esri.Tiles.TilesStore,proxyPath:null},this.offline.store.isSupported()?(this.offline.store.dbName=this.DB_NAME,this.offline.store.objectStoreName=this.DB_OBJECTSTORE_NAME,this.offline.store.init(function(c){c&&this._getTileInfoPrivate(a,function(a){b(a)})}.bind(this._self)),void 0):b(!1,"indexedDB not supported")},getTileUrl:function(b,c,d){this._level=b
|
||||
var e,f=this,g=window.localStorage[this.offline_id_manager]
|
||||
@ -33,8 +30,7 @@ return d<<16|65535&c},O.esri.Tiles.Base64Utils.stringToWord=function(a){for(var
|
||||
return d},O.esri.Tiles.Base64Utils.wordToString=function(a){for(var b=8,c=(1<<b)-1,d=[],e=0,f=32*a.length;f>e;e+=b)d.push(String.fromCharCode(a[e>>5]>>>e%32&c))
|
||||
return d.join("")},O.esri.Tiles.Base64Utils.wordToHex=function(a){for(var b="0123456789abcdef",c=[],d=0,e=4*a.length;e>d;d++)c.push(b.charAt(a[d>>2]>>d%4*8+4&15)+b.charAt(a[d>>2]>>d%4*8&15))
|
||||
return c.join("")},O.esri.Tiles.Base64Utils.wordToBase64=function(a){for(var b="=",c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=[],e=0,f=4*a.length;f>e;e+=3)for(var g=(a[e>>2]>>8*(e%4)&255)<<16|(a[e+1>>2]>>8*((e+1)%4)&255)<<8|a[e+2>>2]>>8*((e+2)%4)&255,h=0;4>h;h++)8*e+6*h>32*a.length?d.push(b):d.push(c.charAt(g>>6*(3-h)&63))
|
||||
return d.join("")},/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
|
||||
O.esri.Tiles.saveAs=function(a){"use strict"
|
||||
return d.join("")},O.esri.Tiles.saveAs=function(a){"use strict"
|
||||
var b=a.document,c=function(){return a.URL||a.webkitURL||a},d=a.URL||a.webkitURL||a,e=b.createElementNS("http://www.w3.org/1999/xhtml","a"),f=!a.externalHost&&"download"in e,g=a.webkitRequestFileSystem,h=a.requestFileSystem||g||a.mozRequestFileSystem,i=function(b){(a.setImmediate||a.setTimeout)(function(){throw b},0)},j="application/octet-stream",k=0,l=[],m=function(){for(var a=l.length;a--;){var b=l[a]
|
||||
"string"==typeof b?d.revokeObjectURL(b):b.remove()}l.length=0},n=function(a,b,c){b=[].concat(b)
|
||||
for(var d=b.length;d--;){var e=a["on"+b[d]]
|
||||
|
||||
21
dist/offline-tiles-advanced-src.js
vendored
21
dist/offline-tiles-advanced-src.js
vendored
@ -1,6 +1,6 @@
|
||||
/*! esri-offline-maps - v3.0.6 - 2016-03-30
|
||||
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
|
||||
* Apache License*/
|
||||
/*! esri-offline-maps - v3.1.0 - 2016-04-21
|
||||
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
|
||||
* Apache License*/
|
||||
define([
|
||||
"dojo/query",
|
||||
"dojo/request",
|
||||
@ -51,9 +51,6 @@ define([
|
||||
|
||||
this._tilesCore = new O.esri.Tiles.TilesCore();
|
||||
|
||||
//For calculating minZoom and maxZoom
|
||||
Array.prototype.sortNumber = function(){return this.sort(function(a,b){return a - b;});};
|
||||
|
||||
this._self = this;
|
||||
this._lastTileUrl = "";
|
||||
this._imageType = "";
|
||||
@ -566,7 +563,7 @@ define([
|
||||
req.send(null);
|
||||
}
|
||||
}); // declare
|
||||
}); // define
|
||||
}); // define
|
||||
/**
|
||||
* Creates a namespace for the non-AMD libraries in this directory
|
||||
*/
|
||||
@ -581,7 +578,7 @@ else{
|
||||
};
|
||||
}
|
||||
|
||||
//"use strict";
|
||||
//"use strict";
|
||||
/*jslint bitwise: true */
|
||||
|
||||
O.esri.Tiles.Base64Utils={};
|
||||
@ -663,7 +660,7 @@ O.esri.Tiles.Base64Utils.wordToBase64=function(/* word[] */wa){
|
||||
return s.join(""); // string
|
||||
};
|
||||
|
||||
/*jslint bitwise: false */
|
||||
/*jslint bitwise: false */
|
||||
/* FileSaver.js
|
||||
* A saveAs() FileSaver implementation.
|
||||
* 2013-10-21
|
||||
@ -900,7 +897,7 @@ O.esri.Tiles.saveAs =
|
||||
|
||||
//if (typeof module !== 'undefined') module.exports = saveAs;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This library contains common core code between OfflineTilesBasic.js
|
||||
* and OfflineTilesAdvanced.js
|
||||
@ -1295,7 +1292,7 @@ O.esri.Tiles.TilesCore = function(){
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*global indexedDB */
|
||||
/**
|
||||
@ -1557,7 +1554,7 @@ O.esri.Tiles.TilesStore = function(){
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
O.esri.Tiles.TilingScheme = function (layer) {
|
||||
this.tileInfo = layer.tileInfo;
|
||||
};
|
||||
|
||||
6
dist/offline-tiles-basic-min.js
vendored
6
dist/offline-tiles-basic-min.js
vendored
@ -1,6 +1,3 @@
|
||||
/*! esri-offline-maps - v3.0.6 - 2016-03-30
|
||||
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
|
||||
* Apache License*/
|
||||
define(["dojo/query","dojo/request","esri/geometry/Polygon","dojo/_base/declare"],function(a,b,c,d){"use strict"
|
||||
return d("O.esri.Tiles.OfflineTilesBasic",[],{getBasemapLayer:function(a){var b=a.layerIds[0]
|
||||
return a.getLayer(b)},extend:function(c,d,e,f){c._tilesCore=new O.esri.Tiles.TilesCore,c._lastTileUrl="",c._imageType="",c._minZoom=null,c._maxZoom=null,void 0===f||null===f?(c.DB_NAME="offline_tile_store",c.DB_OBJECTSTORE_NAME="tilepath"):(c.DB_NAME=f.dbName,c.DB_OBJECTSTORE_NAME=f.objectStoreName),c._getTileUrl=c.getTileUrl
|
||||
@ -22,8 +19,7 @@ return d<<16|65535&c},O.esri.Tiles.Base64Utils.stringToWord=function(a){for(var
|
||||
return d},O.esri.Tiles.Base64Utils.wordToString=function(a){for(var b=8,c=(1<<b)-1,d=[],e=0,f=32*a.length;f>e;e+=b)d.push(String.fromCharCode(a[e>>5]>>>e%32&c))
|
||||
return d.join("")},O.esri.Tiles.Base64Utils.wordToHex=function(a){for(var b="0123456789abcdef",c=[],d=0,e=4*a.length;e>d;d++)c.push(b.charAt(a[d>>2]>>d%4*8+4&15)+b.charAt(a[d>>2]>>d%4*8&15))
|
||||
return c.join("")},O.esri.Tiles.Base64Utils.wordToBase64=function(a){for(var b="=",c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=[],e=0,f=4*a.length;f>e;e+=3)for(var g=(a[e>>2]>>8*(e%4)&255)<<16|(a[e+1>>2]>>8*((e+1)%4)&255)<<8|a[e+2>>2]>>8*((e+2)%4)&255,h=0;4>h;h++)8*e+6*h>32*a.length?d.push(b):d.push(c.charAt(g>>6*(3-h)&63))
|
||||
return d.join("")},/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
|
||||
O.esri.Tiles.saveAs=function(a){"use strict"
|
||||
return d.join("")},O.esri.Tiles.saveAs=function(a){"use strict"
|
||||
var b=a.document,c=function(){return a.URL||a.webkitURL||a},d=a.URL||a.webkitURL||a,e=b.createElementNS("http://www.w3.org/1999/xhtml","a"),f=!a.externalHost&&"download"in e,g=a.webkitRequestFileSystem,h=a.requestFileSystem||g||a.mozRequestFileSystem,i=function(b){(a.setImmediate||a.setTimeout)(function(){throw b},0)},j="application/octet-stream",k=0,l=[],m=function(){for(var a=l.length;a--;){var b=l[a]
|
||||
"string"==typeof b?d.revokeObjectURL(b):b.remove()}l.length=0},n=function(a,b,c){b=[].concat(b)
|
||||
for(var d=b.length;d--;){var e=a["on"+b[d]]
|
||||
|
||||
18
dist/offline-tiles-basic-src.js
vendored
18
dist/offline-tiles-basic-src.js
vendored
@ -1,6 +1,6 @@
|
||||
/*! esri-offline-maps - v3.0.6 - 2016-03-30
|
||||
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
|
||||
* Apache License*/
|
||||
/*! esri-offline-maps - v3.1.0 - 2016-04-21
|
||||
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
|
||||
* Apache License*/
|
||||
define([
|
||||
"dojo/query",
|
||||
"dojo/request",
|
||||
@ -394,7 +394,7 @@ define([
|
||||
}); // declare
|
||||
}); // define
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Creates a namespace for the non-AMD libraries in this directory
|
||||
*/
|
||||
@ -409,7 +409,7 @@ else{
|
||||
};
|
||||
}
|
||||
|
||||
//"use strict";
|
||||
//"use strict";
|
||||
/*jslint bitwise: true */
|
||||
|
||||
O.esri.Tiles.Base64Utils={};
|
||||
@ -491,7 +491,7 @@ O.esri.Tiles.Base64Utils.wordToBase64=function(/* word[] */wa){
|
||||
return s.join(""); // string
|
||||
};
|
||||
|
||||
/*jslint bitwise: false */
|
||||
/*jslint bitwise: false */
|
||||
/* FileSaver.js
|
||||
* A saveAs() FileSaver implementation.
|
||||
* 2013-10-21
|
||||
@ -728,7 +728,7 @@ O.esri.Tiles.saveAs =
|
||||
|
||||
//if (typeof module !== 'undefined') module.exports = saveAs;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* This library contains common core code between OfflineTilesBasic.js
|
||||
* and OfflineTilesAdvanced.js
|
||||
@ -1123,7 +1123,7 @@ O.esri.Tiles.TilesCore = function(){
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*global indexedDB */
|
||||
/**
|
||||
@ -1385,7 +1385,7 @@ O.esri.Tiles.TilesStore = function(){
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
O.esri.Tiles.TilingScheme = function (layer) {
|
||||
this.tileInfo = layer.tileInfo;
|
||||
};
|
||||
|
||||
3
dist/offline-tpk-min.js
vendored
3
dist/offline-tpk-min.js
vendored
@ -1,6 +1,3 @@
|
||||
/*! esri-offline-maps - v3.0.6 - 2016-03-30
|
||||
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
|
||||
* Apache License*/
|
||||
define(["dojo/_base/declare","esri/geometry/Extent","dojo/query","esri/SpatialReference","esri/layers/TileInfo","esri/layers/TiledMapServiceLayer","dojo/Deferred","dojo/promise/all","dojo/Evented"],function(a,b,c,d,e,f,g,h,i){return a("O.esri.TPK.TPKLayer",[f,i],{map:null,store:null,MAX_DB_SIZE:75,TILE_PATH:"",RECENTER_DELAY:350,PARSING_ERROR:"parsingError",DB_INIT_ERROR:"dbInitError",DB_FULL_ERROR:"dbFullError",NO_SUPPORT_ERROR:"libNotSupportedError",PROGRESS_START:"start",PROGRESS_END:"end",WINDOW_VALIDATED:"windowValidated",DB_VALIDATED:"dbValidated",DATABASE_ERROR_EVENT:"databaseErrorEvent",VALIDATION_EVENT:"validationEvent",PROGRESS_EVENT:"progress",_maxDBSize:75,_isDBWriteable:!0,_isDBValid:!1,_autoCenter:null,_fileEntriesLength:0,_inMemTilesObject:null,_inMemTilesObjectLength:0,_zeroLengthFileCounter:0,constructor:function(){this._self=this,this._inMemTilesIndex=[],this._inMemTilesObject={},this.store=new O.esri.Tiles.TilesStore,this._validate()},extend:function(a){this._fileEntriesLength=a.length,this.emit(this.PROGRESS_EVENT,this.PROGRESS_START),this._parseInMemFiles(a,function(){this._parseConfCdi(function(a){this.initialExtent=this.fullExtent=a,this._parseConfXml(function(a){this.tileInfo=new e(a),this.spatialReference=new d({wkid:this.tileInfo.spatialReference.wkid}),this.loaded=!0,this.onLoad(this),this.emit(this.PROGRESS_EVENT,this.PROGRESS_END)}.bind(this._self))}.bind(this._self))}.bind(this._self))},getTileUrl:function(a,b,d){this.emit(this.PROGRESS_EVENT,this.PROGRESS_START)
|
||||
var e=this._self.TILE_PATH+"_alllayers",f=this._getCacheFilePath(e,a,b,d)
|
||||
if(this._inMemTilesObject!={}){var g="void:/"+a+"/"+b+"/"+d
|
||||
|
||||
18
dist/offline-tpk-src.js
vendored
18
dist/offline-tpk-src.js
vendored
@ -1,6 +1,6 @@
|
||||
/*! esri-offline-maps - v3.0.6 - 2016-03-30
|
||||
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
|
||||
* Apache License*/
|
||||
/*! esri-offline-maps - v3.1.0 - 2016-04-21
|
||||
* Copyright (c) 2016 Environmental Systems Research Institute, Inc.
|
||||
* Apache License*/
|
||||
/**
|
||||
* Library for reading an ArcGIS Tile Package (.tpk) file and displaying the tiles
|
||||
* as a map that can be used both online and offline.
|
||||
@ -720,7 +720,7 @@ define([
|
||||
}
|
||||
});
|
||||
}
|
||||
);
|
||||
);
|
||||
/**
|
||||
* Creates a namespace for the non-AMD libraries in this directory
|
||||
*/
|
||||
@ -738,7 +738,7 @@ else{
|
||||
}
|
||||
|
||||
//"use strict";
|
||||
|
||||
|
||||
|
||||
/*global indexedDB */
|
||||
/**
|
||||
@ -1000,7 +1000,7 @@ O.esri.Tiles.TilesStore = function(){
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
//https://github.com/gildas-lormeau/zip.js/blob/master/WebContent/zip.js
|
||||
/*
|
||||
Copyright (c) 2013 Gildas Lormeau. All rights reserved.
|
||||
@ -1807,7 +1807,7 @@ O.esri.Tiles.TilesStore = function(){
|
||||
useWebWorkers : true
|
||||
};
|
||||
|
||||
}(O.esri));
|
||||
}(O.esri));
|
||||
/**
|
||||
* This library assists with autoCenter the map upon orientation change
|
||||
* IMPORTANT: There are Esri dependencies in this library including
|
||||
@ -1941,7 +1941,7 @@ O.esri.TPK.autoCenterMap = function(/* Map */ map,/* int */ delay){
|
||||
var centerPt = map.extent.getCenter();
|
||||
_setCenterPt(centerPt.x,centerPt.y,map.spatialReference.wkid);
|
||||
};
|
||||
};
|
||||
};
|
||||
/*
|
||||
Copyright (c) 2013 Gildas Lormeau. All rights reserved.
|
||||
|
||||
@ -4120,7 +4120,7 @@ O.esri.TPK.___blobURL = URL.createObjectURL(
|
||||
)
|
||||
|
||||
O.esri.zip.workerScriptsPath = O.esri.TPK.___blobURL;
|
||||
|
||||
|
||||
//https://github.com/abdmob/x2js/blob/master/xml2json.js
|
||||
/*
|
||||
Copyright 2011-2013 Abdulla Abdurakhmanov
|
||||
|
||||
@ -48,9 +48,6 @@ define([
|
||||
|
||||
this._tilesCore = new O.esri.Tiles.TilesCore();
|
||||
|
||||
//For calculating minZoom and maxZoom
|
||||
Array.prototype.sortNumber = function(){return this.sort(function(a,b){return a - b;});};
|
||||
|
||||
this._self = this;
|
||||
this._lastTileUrl = "";
|
||||
this._imageType = "";
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "esri-offline-maps",
|
||||
"version": "3.0.7",
|
||||
"version": "3.1.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",
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
"appHomePage": "appcache-tiles.html",
|
||||
"optimizedApiURL": "../samples/jsolib",
|
||||
"arcGISBaseURL": "http://js.arcgis.com/3.14",
|
||||
"version": "3.0.7",
|
||||
"version": "3.1.0",
|
||||
"private": true,
|
||||
"description": "manifest generator project",
|
||||
"repository": {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
"use strict"
|
||||
|
||||
describe("offline enabler custom layer library", function()
|
||||
describe("offline tiles advanced custom layer library", function()
|
||||
{
|
||||
var async = new AsyncSpec(this);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user