update to TPK doc, namespace for zip.js

This commit is contained in:
Andy Gup 2014-09-08 13:35:33 -06:00
parent 62963c2f69
commit 6f21bb8bcb

View File

@ -46,3 +46,12 @@ Methods | Returns | Description
--- | --- | ---
`getTileUrl(level, row, col)` | String | Use the url's level, row and column to retrieve tiles as requested by the ArcGIS API for JavaScript. If a tile is in the local database it is returned. If it is not then the library parsing the TPK file for the appropriate tile image. If `isDBWriteable()` is set to true (default), then an image retrieved from the TPK will be written to the database. Tile retrieval times from images stored in the database are significantly faster than pulling images from the TPK.
###O.esri.zip
Integrates zip.js into the TPKLayer library. Here is a short listing, for a completing listing of zip.js functionality go [here](http://gildas-lormeau.github.io/zip.js/).
Methods | Returns | Description
--- | --- | ---
`createReader(reader, callback[, onerror])` | {ZipReader} | Create a ZipReader object. A ZipReader object helps to read the zipped content.
`BlobReader(blob)` | Binary contents of Blob | Use this as the reader property in the createReader constructor.