MazeMap / Leaflet.TileLayer.PouchDBCached

A Leaflet tile layer which caches into PouchDB for offline use
MIT License
208 stars 68 forks source link

fix: PouchDB imported directly #47

Closed ErwannLeRoux closed 2 years ago

ErwannLeRoux commented 3 years ago

Importing pouchdb directly will allow to use library even if leaflet isn't load in html but directly in JS files. It will fix the "PouchDB" not defined error for this use case.

nikolauskrismer commented 3 years ago

LGTM