├── .browserslistrc
├── .commitlintrc.json
├── .eslintrc.js
├── .github
├── FUNDING.yml
├── dependabot.yml
└── workflows
│ ├── docs.yml
│ ├── main.yml
│ └── release.yml
├── .gitignore
├── .husky
├── commit-msg
└── pre-commit
├── .npmignore
├── .nvmrc
├── .prettierignore
├── .prettierrc.json
├── .releaserc.json
├── LICENSE
├── README.md
├── changelog.md
├── examples
├── README.md
├── list-storage
│ ├── .gitignore
│ ├── index.html
│ ├── package-lock.json
│ ├── package.json
│ ├── public
│ │ └── vite.svg
│ ├── src
│ │ ├── main.ts
│ │ ├── style.css
│ │ └── vite-env.d.ts
│ └── tsconfig.json
├── map-layers-and-control
│ ├── .gitignore
│ ├── index.html
│ ├── package-lock.json
│ ├── package.json
│ ├── public
│ │ └── vite.svg
│ ├── src
│ │ ├── main.ts
│ │ ├── storageLayer.ts
│ │ ├── style.css
│ │ └── vite-env.d.ts
│ └── tsconfig.json
└── map-wmts
│ ├── .gitignore
│ ├── index.html
│ ├── package-lock.json
│ ├── package.json
│ ├── public
│ └── vite.svg
│ ├── src
│ ├── main.ts
│ ├── style.css
│ └── vite-env.d.ts
│ └── tsconfig.json
├── karma.conf.ts
├── package.json
├── rollup.config.mjs
├── src
├── ControlSaveTiles.ts
├── TileLayerOffline.ts
├── TileManager.ts
├── images
│ └── save.png
└── index.ts
├── test
├── ControlSaveTilesTest.ts
├── TileLayerTest.ts
└── TileManagerTest.ts
├── tmp
└── .gitkeep
└── tsconfig.json
/.browserslistrc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/.browserslistrc
--------------------------------------------------------------------------------
/.commitlintrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": ["@commitlint/config-conventional"]
3 | }
4 |
--------------------------------------------------------------------------------
/.eslintrc.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/.eslintrc.js
--------------------------------------------------------------------------------
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | github: [allartk]
--------------------------------------------------------------------------------
/.github/dependabot.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/.github/dependabot.yml
--------------------------------------------------------------------------------
/.github/workflows/docs.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/.github/workflows/docs.yml
--------------------------------------------------------------------------------
/.github/workflows/main.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/.github/workflows/main.yml
--------------------------------------------------------------------------------
/.github/workflows/release.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/.github/workflows/release.yml
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/.gitignore
--------------------------------------------------------------------------------
/.husky/commit-msg:
--------------------------------------------------------------------------------
1 | npx --no-install commitlint --edit $1
2 |
--------------------------------------------------------------------------------
/.husky/pre-commit:
--------------------------------------------------------------------------------
1 | npx lint-staged
2 |
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/.npmignore
--------------------------------------------------------------------------------
/.nvmrc:
--------------------------------------------------------------------------------
1 | lts/jod
--------------------------------------------------------------------------------
/.prettierignore:
--------------------------------------------------------------------------------
1 | dist
2 | node_modules
--------------------------------------------------------------------------------
/.prettierrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "singleQuote": true
3 | }
4 |
--------------------------------------------------------------------------------
/.releaserc.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/.releaserc.json
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/LICENSE
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/README.md
--------------------------------------------------------------------------------
/changelog.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/changelog.md
--------------------------------------------------------------------------------
/examples/README.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/README.md
--------------------------------------------------------------------------------
/examples/list-storage/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/list-storage/.gitignore
--------------------------------------------------------------------------------
/examples/list-storage/index.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/list-storage/index.html
--------------------------------------------------------------------------------
/examples/list-storage/package-lock.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/list-storage/package-lock.json
--------------------------------------------------------------------------------
/examples/list-storage/package.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/list-storage/package.json
--------------------------------------------------------------------------------
/examples/list-storage/public/vite.svg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/list-storage/public/vite.svg
--------------------------------------------------------------------------------
/examples/list-storage/src/main.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/list-storage/src/main.ts
--------------------------------------------------------------------------------
/examples/list-storage/src/style.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/list-storage/src/style.css
--------------------------------------------------------------------------------
/examples/list-storage/src/vite-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/examples/list-storage/tsconfig.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/list-storage/tsconfig.json
--------------------------------------------------------------------------------
/examples/map-layers-and-control/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/map-layers-and-control/.gitignore
--------------------------------------------------------------------------------
/examples/map-layers-and-control/index.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/map-layers-and-control/index.html
--------------------------------------------------------------------------------
/examples/map-layers-and-control/package-lock.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/map-layers-and-control/package-lock.json
--------------------------------------------------------------------------------
/examples/map-layers-and-control/package.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/map-layers-and-control/package.json
--------------------------------------------------------------------------------
/examples/map-layers-and-control/public/vite.svg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/map-layers-and-control/public/vite.svg
--------------------------------------------------------------------------------
/examples/map-layers-and-control/src/main.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/map-layers-and-control/src/main.ts
--------------------------------------------------------------------------------
/examples/map-layers-and-control/src/storageLayer.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/map-layers-and-control/src/storageLayer.ts
--------------------------------------------------------------------------------
/examples/map-layers-and-control/src/style.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/map-layers-and-control/src/style.css
--------------------------------------------------------------------------------
/examples/map-layers-and-control/src/vite-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/examples/map-layers-and-control/tsconfig.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/map-layers-and-control/tsconfig.json
--------------------------------------------------------------------------------
/examples/map-wmts/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/map-wmts/.gitignore
--------------------------------------------------------------------------------
/examples/map-wmts/index.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/map-wmts/index.html
--------------------------------------------------------------------------------
/examples/map-wmts/package-lock.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/map-wmts/package-lock.json
--------------------------------------------------------------------------------
/examples/map-wmts/package.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/map-wmts/package.json
--------------------------------------------------------------------------------
/examples/map-wmts/public/vite.svg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/map-wmts/public/vite.svg
--------------------------------------------------------------------------------
/examples/map-wmts/src/main.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/map-wmts/src/main.ts
--------------------------------------------------------------------------------
/examples/map-wmts/src/style.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/map-wmts/src/style.css
--------------------------------------------------------------------------------
/examples/map-wmts/src/vite-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/examples/map-wmts/tsconfig.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/examples/map-wmts/tsconfig.json
--------------------------------------------------------------------------------
/karma.conf.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/karma.conf.ts
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/package.json
--------------------------------------------------------------------------------
/rollup.config.mjs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/rollup.config.mjs
--------------------------------------------------------------------------------
/src/ControlSaveTiles.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/src/ControlSaveTiles.ts
--------------------------------------------------------------------------------
/src/TileLayerOffline.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/src/TileLayerOffline.ts
--------------------------------------------------------------------------------
/src/TileManager.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/src/TileManager.ts
--------------------------------------------------------------------------------
/src/images/save.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/src/images/save.png
--------------------------------------------------------------------------------
/src/index.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/src/index.ts
--------------------------------------------------------------------------------
/test/ControlSaveTilesTest.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/test/ControlSaveTilesTest.ts
--------------------------------------------------------------------------------
/test/TileLayerTest.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/test/TileLayerTest.ts
--------------------------------------------------------------------------------
/test/TileManagerTest.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/test/TileManagerTest.ts
--------------------------------------------------------------------------------
/tmp/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/allartk/leaflet.offline/HEAD/tsconfig.json
--------------------------------------------------------------------------------