mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
Closes #436
This commit is contained in:
parent
aebf8938bc
commit
8e374feb71
@ -396,6 +396,10 @@ You can check if there are any edits pending.
|
||||
|
||||
```
|
||||
|
||||
### Use of the library with multiple feature layers
|
||||
|
||||
Yes, you can use this library with multiple feature layers. Edits are stored in the database based on a UUID that includes a reference to the associated feature layer. See the `appcache-twofeatureslayer-noedit.html` sample for one example of how to implement this functionality.
|
||||
|
||||
### How to empty the edits database during testing?
|
||||
|
||||
Some browsers, like Firefox, make it difficult or impossible to delete data that's in an IndexedDB database. And, there may be times during testing were you are stuck with bad or old data in the database and you need to delete it.
|
||||
|
||||
@ -118,6 +118,10 @@ See the [TPKLayer API doc](tpklayer.md) for more info.
|
||||
|
||||
For more information on creating TPKs go [here](http://resources.arcgis.com/en/help/main/10.1/index.html#//006600000457000000).
|
||||
|
||||
**Can I use the TPKLayer with `OfflineEditAdvanced`?
|
||||
|
||||
Yes, you can use the TPKLayer library alongside the `OfflineEditAdvanced` library. Spatial references must be exactly the same for both the TPK and the feature service.
|
||||
|
||||
**Additional Considerations**
|
||||
|
||||
There are a few things to keep in mind when working with TPK files and JavaScript.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user