Skip to content

Commit

Permalink
v2.5.0.2 minor doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
andygup committed Apr 2, 2015
1 parent a541a9d commit 73ce82f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# offline-editor-js - Changelog

## Version 2.5.0.2 - April 2, 2015

Minor doc update. Clarification in OfflineFeaturesManager on requiring `mode` be set to `FeatureLayer.MODE_SNAPSHOT`.

## Version 2.5.0.1 - April 1, 2015

Minor doc update. Added references to attachments documentation. Misc. clarifications.
Expand Down
4 changes: 3 additions & 1 deletion doc/howtouseeditlibrary.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ NOTE: You can also monitor standard ArcGIS API for JavaScript layer events using
```
**Step 3** Set a listener for the `layers-add-result` event. Then, add the feature layer to the map just like you normally would:
**Step 3** Set a listener for the `layers-add-result` event. Then, add the feature layer to the map just like you normally would.
**IMPORTANT:** The library currently only works offline when the `mode` is set to `FeatureLayer.MODE_SNAPSHOT`:
```js
Expand Down
2 changes: 2 additions & 0 deletions doc/offlinefeaturesmanager.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Property | Value | Description

OfflineFeaturesManager provides the following functionality.

**IMPORTANT:** The library currently only works offline when the feature layer's `mode` is set to `FeatureLayer.MODE_SNAPSHOT`.

Methods | Returns | Description
--- | --- | ---
`extend(layer,callback,dataStore)`|`callback( boolean, errors )`| **Updated @ v2.5** Overrides a feature layer, by replacing the `applyEdits()` method of the layer. You can use the FeatureLayer as always, but it's behaviour will be enhanced according to the online status of the manager and the capabilities included in this library. `Callback` is related to initialization the library. `dataStore` is an optional Object that contains any information you need when reconsistuting the layer after an offline browser restart. Refer to the [How to use the edit library doc](howtouseeditlibrary.md) for addition information.
Expand Down

0 comments on commit 73ce82f

Please sign in to comment.