mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
updated readme
This commit is contained in:
parent
24a8b7f5f1
commit
6bfa1bfe84
33
README.md
33
README.md
@ -3,17 +3,17 @@ offline-editor-js
|
||||
|
||||
Offline-editor-js is a set of JavaScript libraries for using the ArcGIS API for JavaScript offline. It offers both lightweight editing and tile management capabilities while offline or intermittently offline. It's a work-in-progress so if you have suggestions open an issue or if you want to make a pull request we welcome your proposed modifications.
|
||||
|
||||
Online samples and tutorials are available here: [http://esri.github.io/offline-editor-js/demo/](http://esri.github.io/offline-editor-js/demo/)
|
||||
Online samples and getting started tutorials are available here: **[http://esri.github.io/offline-editor-js/demo/](http://esri.github.io/offline-editor-js/demo/)**
|
||||
|
||||
*IMPORTANT:* If you need a fully integrated robust offline solution then you should be using our ArcGIS Runtime SDKs for .NET, WPF, Java, iOS, Android and Qt.
|
||||
|
||||
This repo contains the following libraries:
|
||||
|
||||
- `/dist`:
|
||||
* `offline-edit-min.js` - _(replaces v1.x of OfflineFeaturesManager.js)_ stores adds, updates and deletes of features as well as limited attachment support while offline. Resync's edits with server once connection is reestablished.
|
||||
* `offline-tiles-basic-min.js` - _(replaces v1.x of offlineTilesEnabler.js)_ caches map tiles for partial offline use cases. Use this library with ArcGIS Online Web maps as well as with tiled map services. This repo will not work with browser restarts or reloads while offline.
|
||||
* `offline-tiles-advanced-min.js` - _(replaces v1.x of OfflineTilesEnablerLayer.js)_ Extends any ArcGIS Tiled Map Service that has a requirement for offline browser reload and/or restart. This library should be used in conjunction with an HTML5 application cache coding pattern.
|
||||
* `offline-tpk-min.js` - _(replaces v1.x of TPKLayer.js)_ parses a TPK file and displays it as a tiled map layer.
|
||||
* `offline-edit-min.js` - stores adds, updates and deletes of features as well as limited attachment support while offline. Resync's edits with server once connection is reestablished.
|
||||
* `offline-tiles-basic-min.js` - caches map tiles for partial offline use cases. Use this library with ArcGIS Online Web maps as well as with tiled map services. This repo will not work with browser restarts or reloads while offline.
|
||||
* `offline-tiles-advanced-min.js` - Extends any ArcGIS Tiled Map Service that has a requirement for offline browser reload and/or restart. This library should be used in conjunction with an HTML5 application cache coding pattern.
|
||||
* `offline-tpk-min.js` - parses a TPK file and displays it as a tiled map layer.
|
||||
- `/utils`: contains various helper library modules. These modules are all AMD compliant.
|
||||
- `/samples`: samples that show how to use the different offline libraries capabilities.
|
||||
|
||||
@ -33,16 +33,9 @@ Using an [application manifest](https://developer.mozilla.org/en-US/docs/HTML/Us
|
||||
__Attachment Support__: Attachments are supported with some limitations. See documentation [here](./doc/attachments.md)
|
||||
|
||||
|
||||
#API Doc
|
||||
#API and How To Use Docs
|
||||
|
||||
Go __[here](demo/api-doc.html)__ for a listing of the API docs.
|
||||
|
||||
##How to use
|
||||
|
||||
* [Learn more about using the `tile` library](doc/howtousetiles.md)
|
||||
* [Learn more about using the `edit` library](doc/howtouseeditlibrary.md)
|
||||
* [Learn more about using the `tpk` library](doc/howtousetpklibrary.md)
|
||||
* [Learn more about using an application cache with this library](doc/howtouseappcache.md)
|
||||
Go __[here](demo/api-doc.html)__ to get links to the API docs and How to use docs.
|
||||
|
||||
|
||||
## Migrating from v1 to v2
|
||||
@ -61,18 +54,6 @@ If you are migrating your v1 code to v2 then go [here](doc/migratefromv1tov2.md)
|
||||
1. From the root directory run `npm install`
|
||||
2. Run `Grunt build`. If there are no errors, the minimized _(min)_ and source _(src)_ versions of the libraries will be output to `\dist`
|
||||
|
||||
|
||||
##Samples
|
||||
|
||||
* `appcache-features.html` - shows how to work with the application manifest, tiles and features. This sample works with browser reloads and restarts.
|
||||
* `appcache-tiles.html` - shows how to work with the application manifest and map tiles. This sample works with browser reloads and restarts.
|
||||
* `attachments-editor.html` - demonstrates how to work with this library using feature attachments.
|
||||
* `draw-pointlinepoly-offline.html` shows working with points, lines and polygons locally.
|
||||
* `tpklayer.html` - shows how to work with TPK files.
|
||||
* `tiles-indexed-db.html` - shows how to work with storing tiles locally.
|
||||
* `Gruntfile.js` - a node.js app and its associated `package.json` file to help with creating an application manifest file.
|
||||
|
||||
|
||||
##Dependencies
|
||||
|
||||
* ArcGIS API for JavaScript (v3.8+)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user