1.0.0 • Published 9 years ago
xyz2tpk v1.0.0
xyz2tpk
Convert tiles from an HTTP x,y,z tile endpoint into the ESRI .tpk format.
Install
npm install
To build distribution version.
npm run build
To run tests
npm test
Usage
xyz2tpk(bounds, minzoom, maxzoom, token, directory, callback)
bounds
{Number} bounds in the form[w, s, e, n]
in WGS84.minzoom
{Number} minimum zoom.maxzoom
{Number} maximum zoom.token
{String} valid access token for the specified x/y/z tile service.directory
{String} output directory path for the tpk, should be unique.callback
{Function} callback function after .tpk is zipped.
1.0.0
9 years ago