Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually Deleting Cache #8

Open
nurseybushc opened this issue Jun 18, 2015 · 2 comments
Open

Manually Deleting Cache #8

nurseybushc opened this issue Jun 18, 2015 · 2 comments

Comments

@nurseybushc
Copy link

I ended up getting this to work with angular but now i am wondering how I would go about deleting the cache manually, for example with a button? I know the db is called 'offline-tiles' but I'm not sure how to call it. Thanks

@kentr
Copy link

kentr commented Feb 14, 2016

This worked for me. From the PouchDB docs:

layer._db.destroy().then(function (response) {
  // success
}).catch(function (err) {
  console.log(err);
});

@thijssmudde
Copy link

How do I find the cache size? Preferably for each different tile layer.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants