mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
v2.4
This commit is contained in:
parent
0a6ae22df3
commit
b2e497f65d
13
CHANGELOG.md
13
CHANGELOG.md
@ -1,5 +1,18 @@
|
||||
# offline-editor-js - Changelog
|
||||
|
||||
## Version 2.4 - Nov 26, 2014
|
||||
- Closes #274 phantom symbols not working correctly
|
||||
- Updated offlineFeaturesManager.js
|
||||
- Updated API docs to reflect new functionality.
|
||||
- Updated appcache-features.html sample to incorporate new functionality.
|
||||
|
||||
New functionality:
|
||||
|
||||
- Added setPhantomLayerGraphics() - for use with offline browser restarts. Allows you to restore the phantom graphics layer. This layer is used to highlight any points that have been modified while offline.
|
||||
- Added getPhantomLayerGraphics() - for use with offline browser restarts. Allows you to get a JSON copy of the current phantom graphics layers so that you can save it to a local database such as localStorage.
|
||||
|
||||
Breaking changes: none
|
||||
|
||||
## Version 2.3.1.2 - Oct 21, 2014
|
||||
- Closes #267 can't host markdown on gh-pages
|
||||
|
||||
|
||||
2
dist/offline-edit-min.js
vendored
2
dist/offline-edit-min.js
vendored
File diff suppressed because one or more lines are too long
19
dist/offline-edit-src.js
vendored
19
dist/offline-edit-src.js
vendored
@ -1,4 +1,4 @@
|
||||
/*! offline-editor-js - v2.3.1 - 2014-10-14
|
||||
/*! offline-editor-js - v2.4 - 2014-11-26
|
||||
* Copyright (c) 2014 Environmental Systems Research Institute, Inc.
|
||||
* Apache License*/
|
||||
|
||||
@ -444,21 +444,22 @@ define([
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Sets the phantom layer with a new features.
|
||||
* @param graphicsArray an array of Graphics
|
||||
*/
|
||||
layer.setPhantomLayerGraphics = function(graphicsArray){
|
||||
//layer._phantomLayer.graphics = graphicsArray;
|
||||
|
||||
var length = graphicsArray.length;
|
||||
for(var i=0; i < length; i++){
|
||||
var graphic = new Graphic(graphicsArray[i]);
|
||||
this._phantomLayer.add(graphic);
|
||||
|
||||
if(length > 0){
|
||||
for(var i=0; i < length; i++){
|
||||
var graphic = new Graphic(graphicsArray[i]);
|
||||
this._phantomLayer.add(graphic);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns the array of graphics from the phantom graphics layer.
|
||||
@ -480,7 +481,7 @@ define([
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Create a featureDefinition
|
||||
|
||||
2
dist/offline-tiles-advanced-src.js
vendored
2
dist/offline-tiles-advanced-src.js
vendored
@ -1,4 +1,4 @@
|
||||
/*! offline-editor-js - v2.3.1 - 2014-10-14
|
||||
/*! offline-editor-js - v2.4 - 2014-11-26
|
||||
* Copyright (c) 2014 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 @@
|
||||
/*! offline-editor-js - v2.3.1 - 2014-10-14
|
||||
/*! offline-editor-js - v2.4 - 2014-11-26
|
||||
* Copyright (c) 2014 Environmental Systems Research Institute, Inc.
|
||||
* Apache License*/
|
||||
define([
|
||||
|
||||
2
dist/offline-tpk-src.js
vendored
2
dist/offline-tpk-src.js
vendored
@ -1,4 +1,4 @@
|
||||
/*! offline-editor-js - v2.3.1 - 2014-10-14
|
||||
/*! offline-editor-js - v2.4 - 2014-11-26
|
||||
* Copyright (c) 2014 Environmental Systems Research Institute, Inc.
|
||||
* Apache License*/
|
||||
/**
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "offline-editor-js",
|
||||
"version": "2.3.1",
|
||||
"version": "2.4",
|
||||
"description": "Lightweight set of libraries for working offline with map tiles and ArcGIS feature services",
|
||||
"author": "Andy Gup <agup@esri.com> (http://blog.andygup.net)",
|
||||
"license": "Apache 2",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user